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.
Distribution: Ubunto and slowly switching to debian
Posts: 308
Rep:
ip tables problem
hi i im half way through a compleat overhaul of my network and OS's that are on it meaning everything is backed up and then formated to start from scratch. on my network i have my main server that does everything exept connect to the internet i have a seporate machine that connects to the internet and acts as a proxy which i have set up properly and works axept for iptables
on the machine that connects to the internaet it has 2 interfaces
eth0 - connects the the internet
eth1 - connects to internal network
what i want to do is forward all trafic incoming from the internet on eth0 through eth1 to the ip address 10.20.99.253 (my main server)
i have done this the same way i used to by doing this
this used to work and no longer does i have removed all other iptables rules so i know it isnt that. when iptables doesnt have any rules i can ping the machine but when i add the rule i cannot ping at all with this rule i thought it would ping my main server also no other ports work using this rule even though they are all open on my server aswell as my connection machine
as i say this usedto work so i dont know why it no longer does
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.