[Ilugc] hi (Proxy)

  • From: bharathi@xxxxxxxxxxxxxxxxxxxx (Bharathi S)
  • Date: Wed, 13 Nov 2002 15:33:43 +0530 (IST)

Today at 12:23am, Balakumar Arunachalam mailed Me too :

i am finding problem in instaalling proxy server using ipchans by
creating a file rc.fw .....in /etc/rc.d.

IPChain is OLD. Use IPTables.
  
The following rule is used for IP-Masq

  iptables --append FORWARD --in-interface eth1 --jump ACCEPT
 
  iptables --append FORWARD --match state --state ESTABLISHED,
             RELATED --jump ACCEPT

  iptables --table nat --append POSTROUTING --out-interface eth0 --jump 
             MASQUERADE

  Read docs/man pages related to IPTABLES :) I am not an expert in 
  iptables :)

Bye :)
-- 
Bharathi S, IndLinuX Team, (__)
DONLab,     TeNeT Group,   oo /
IIT-Madras, Chennai-INDIA. (_/\


  • References:

Other related posts:

  • » [Ilugc] hi (Proxy) - Bharathi S