Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with RH 7.3 and ipchains + ipmasqadm

Status
Not open for further replies.

mirandag

IS-IT--Management
Sep 11, 2002
6
0
0
Hi, I've a problem that I need to resolv as soon as possible.
Could somebody help me?

I'd RH 7.0 configured as firewall using ipchain and ipmasqadm to forward from external (internet) to internal hosts (services).

I've upgraded to RH 7.3 and now I can't use ipmasqadm. What can I do to use it? or what can I do to forward the external requirements to internal hosts services?

Best regards.

I look forward hearing from you soon
 
Well, you can downlaod and install ipmasqadm. But If I were you, I would just use iptables for my port fowarding. I would also use iptabes instead of ipchains.

Here is an example that forwards TCP Port 80 requests on eth0 to a host on the local network (192.168.0.2).

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 192.168.0.2


Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top