Humble Trader

Sunday, December 18, 2005

Set up IP Forwarding

Introduction:

IP Forwarding allows your internal network to communicate with the internet.

Aim:

Have IP Forwarding to start during boot-up.

Requirements:

None.

Procedure:

  • Log in as root
  • Open Terminal
  • # cd /etc/init.d
  • Copy the following script into this directory - I usually put it on a floppy. (Hint: right-click the link and choose 'Save link as...'):
  • # chmod 755 ip_forwarding
  • # chkconfig --add ip_forwarding
  • # service ip_forwarding restart
Testing:
  • # cat /proc/sys/net/ipv4/ip_forward
  • This should return; '1'.

0 Comments:

Post a Comment

<< Home