Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Then set the gateway on my win pc to the ip of the linux box...
But it seems only MSN messenger will use the gateway...
Win seems set up correctly, so I'm thinking it's a linux problem, also it might be that linux is dropping the packets for web etc, because if I request a site on win, the modem light will flash for recieved data (linux has the modem of course) but that data never gets to windows...
The network works properly, Kernel should support IP masq...
Hi,
does your windoze have the right ip. Will it ping the linuxhost? Do you have any proxies konfigured under win? Whats the output of
# ifconfig
and
# iptables -L -n
?
Do you have the right policies on your filtertables?
Everything seems correct for me.
iptables -L -n just shows the filter rules, if you want to see the NAT rules do:
iptables -t nat -L -n, that will show you your MASQUERADING.
For your problem:
Use tcpdump on both interfaces to see whats going on. How will the packets leave the ppp-device? Are the answers coming back? and so on.
As always, it was a problem with the windows config, not linux...
It's all working perfectly now, or seems to be
However, I think it's going through the net for local IPs, because if I telnet from inside the network to my box, it connects but waits a while untill I gets me the login prompt...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.