1758847 Members
2970 Online
108876 Solutions
New Discussion

ipfilter destination NAT

 
Michael Pye
Occasional Advisor

ipfilter destination NAT

linux has iptables with DNAT option. How do I do it with ipfilter ? I want to forward any outbound requests from hpux box that target any hosts on port 80 and port 443 to be forwarded transparently to a proxy ?

The rdr option only lets me NAT inbound traffic, not outbound.

Thanks for any suggestions.
Michael
1 REPLY 1
Ivan Ferreira
Honored Contributor

Re: ipfilter destination NAT

Check this link:

http://coombs.anu.edu.au/~avalon/examples.html#redirection

Section "Transparent Proxy".

More samples here:

http://techypunky.com/3-legged-transparent-proxy-firewall-using-ipfilter-418-squid-on-fedora-core-1/

Section "squid transparent proxy"
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?