Skip to contentSkip to conversation

Help...

DISCUSSION manish 2 participants 2 messages Dec 18, 2002

lore
Share & tools
lore

manish

author
#0 lore raw

Hello
Can any one look up to my problem. The problem is:
I have set up a small lan with both wired and wireless clients, here i am describing only wired lan.

I am giving you the details, which will help you to understand my problem.

    A----------B----------C
               |
               |
               |
               D

Here A is my windows client with IP address

        192.168.101.1 Mask 255.255.0.0

Here B is my Linux7.3 Server with IP address
192.168.0.1 Mask 255.255.0.0
B is also connected to Internet with Generic
Serial Modem (ppp0).
Here C is my windows client with IP address

        192.168.101.3 Mask 255.255.0.0
Here D is my Linux client with IP address
        192.168.80.1 Mask 255.255.0.0.

I am sharing internet to all my client i.e A, C and D. using this command.

Quoted 1 line

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

# Turn on the IP forwarding

Quoted 1 line

echo 1 > /proc/sys/net/ipv4/ip_forward

Upto this everything works fine all clients (A, C, D) share internets.
Now if i wanted to start any chat services i.e Yahoo Messenger or vat tool the person who has logged on from A not able to talk to person logged on from C or D. or even a person who is also online from out of this network (Somewhere from internet)also not able to call or do voice chat.
# I had use this command after that

Quoted 1 line

iptables -t nat -A PREROUTING -i ppp0 -j DNAT

--to-destination 192.168.101.3

This time i am able to call people from outside from machine C (192.168.101.3)and also able to do voice conversation in vat. But another side A and D are not able to talk to that person outside the network. Also the above command will not work for other hosts A and D. At a time only one machine is able to make a vat connection from B.

1) What should i do so A, C, and D all together can use to call outside and able to do voice
conversation
in vat or vive-versa?
2) what should i do so A can talk to B in yahoo or vat voice chat?

please let me know that is there any solution for my problem? Mostly i wanted to run vat?
Thanks
Manish.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

#1 lore raw
Quoted 7 lines
Quoted 1 line

iptables -t nat -A PREROUTING -i ppp0 -j DNAT

--to-destination 192.168.101.3

This time i am able to call people from outside from machine C (192.168.101.3)and also able to do voice conversation in vat. But another side A and D are not able to talk to that person outside the network. Also

This looks obvious, as all the traffic comming back to you from the Internet you are directing to C. All, means, initiated by host A or B too.

Quoted 4 lines

1) What should i do so A, C, and D all together can use to call outside and able to do voice
conversation
in vat or vive-versa?

You would need a nat_helper for that protocol, so the router stores connection information and knows which packets should be sent to whom.

You could try directing the traffic from that protocol to a local broadcast address (specify the port of the service), maybe the applications can manage to filter out their packets somehow by ID's.

What chat protocol is that?

Regards,
Maciej Soltysiak