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.
Greetings Group,
My little network uses a Linux gateway running iptables. I have successfully created a PREROUTING and FORWARD chain to allow MS Direct Play server to funtion on a Win box within the network. This box is able to connect to and run games through the MS Game Zone.
Here is the script which works for one box using the zone:
I would like to enable another Win box (192.168.1.19) that can use the zone and also engage in play with the other Win box (192.168.1.20). Any suggestions would be greatly appreciated.
You have run into the eternal problem with DNAT/SNAT. It's great for single host routes, but when you want to route multiple clients across and have them be able to talk to each other you run into issues. The basic problem is that you are setting up essentially static routes which can't be overcome. Connection Tracking helps in this regard but you'd probably have to develop some module from scratch(similar to ip_conntrack_ftp) and that can become a beast.
I certainly appreciate the reply. Just as I suspected, a gnarly beast to tame. It also seems that since one of the Win Boxen is predominately running Linux, that when it's booted temporarily into Win, my gateway stills sees it's MAC address as the Linux Boxes NIC, and does not resolve properly with my DNS. If I knew where to look, and how to flush the old routes properly I might yet be able to tame the beast into submission.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.