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.
NIC1
- Static IP (219.93.225.x)
- connects to a switch that gives me DSL connection
NIC2
- Internal IP (192.168.100.x)
- connects to a switch to my LAN
What i'm trying to achieve:
1. Let my LAN users access the server internally
2. Use the server to host my website
I would like to map watever request from NIC2 to NIC1 so that watever request is processed transparently to the users.
Since this is gona expose my LAN, i figured that i should have a firewall for security.
Is there any software on RH7.3 that allows me to do this? If yes, how?
Thanks in advance
Distribution: Red Hat 9.0/ Debian/ Solaris 9 (just trying out)
Posts: 27
Rep:
I think if you search the web, there is a HOWTO on masquerading. That is what you are looking for- a firewall that masquerades. I found one that has some configurable options in it, but there is no gui interface. Just a text file. I am also running 7.3, and my server hosts a website, as well as ssh logins from the internet. The internal network has free-flow.
Scott
PS I found that when using such a firewall, you do NOT start ipchains in the normal startup process.
i've managed to reconfigure my route to the original one (refer post #6 for my earlier route -n)....
but my external IP is still not working
i think i must've screwed up something in the midst of configuring iptables
any ideas? or where should i look to rectify this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.