Discussion Locked

IP masquerading and web server

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can someone address this topic? How does one have a server that will do both IP Masquerading and also a httpd server. I set up IP masquerading and now I can't get to myu web site from outside.

I don't know if this is the right place for this question?

1 reply

by lordinfidel

Instead of using IPMasquerade,

Use IPTables- then use the -nat table.

To get your request from port 80 to your internal webserver, use Post-routing and Pre-routing.
(Essentially DNAT)

If you are not to keen on writing firewall rules by hand. If you have a box with gnome or kde installed, you can use the graphical fwbuilder (fwbuilder.org). build your firewall with nat and pre-routing, and install the script on your machine.

This discussion is closed to new replies.