[ilugd] linux machine as router

2007-01-19 Thread rajnish kumar
Dear all
I want to be configured linux box(fedora or redhat) as router.
so plz if any one using linux box as router in real environment
plz suggest which package is best suitable for this.

thnx.
with regds
rajnish
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] linux machine as router

2007-01-19 Thread Pankaj kaushal
rajnish kumar wrote:
 Dear all
I want to be configured linux box(fedora or redhat) as router.

You will have to wait till they port linux to run on the human brain for
that to happen.

P.
-- 
Wir wollen dass ihr uns alles glaubt.

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] linux machine as router

2007-01-19 Thread S. K. Goel
On Fri, 2007-01-19 at 14:02 +0530, rajnish kumar wrote:
 Dear all
 I want to be configured linux box(fedora or redhat) as router.
 so plz if any one using linux box as router in real environment
 plz suggest which package is best suitable for this.
 
 thnx.
 with regds
 rajnish


You add following commands in /etc/rc.d/rc.local


echo 1  /proc/sys/net/ipv4/ip_forward
/sbin/iptables -F FORWARD
/sbin/iptables -F INPUT
/sbin/iptables -F OUTPUT
/sbin/iptables -P INPUT  ACCEPT
/sbin/iptables -P OUTPUT  ACCEPT
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables -t nat -A POSTROUTING -s Local-IP -j SNAT --to  Public-IP

I am using linux as a router in more than 250 locations.


[S K Goel]


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] linux machine as router

2007-01-19 Thread Karanbir Singh
S. K. Goel wrote:
 
 You add following commands in /etc/rc.d/rc.local
 echo 1  /proc/sys/net/ipv4/ip_forward
 /sbin/iptables -F FORWARD
 /sbin/iptables -F INPUT
 /sbin/iptables -F OUTPUT
 /sbin/iptables -P INPUT  ACCEPT
 /sbin/iptables -P OUTPUT  ACCEPT
 /sbin/iptables -P FORWARD ACCEPT
 /sbin/iptables -t nat -A POSTROUTING -s Local-IP -j SNAT --to  Public-IP
 
 I am using linux as a router in more than 250 locations.
 

errr.. dont you think you're being a bit generous with those settings ? 
are you really really sure you dont want any policy whatsoever for any 
chain's

- KB

-- 
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] linux machine as router

2007-01-19 Thread S. K. Goel
On Fri, 2007-01-19 at 09:07 +, Karanbir Singh wrote:
 S. K. Goel wrote:
  
  You add following commands in /etc/rc.d/rc.local
  echo 1  /proc/sys/net/ipv4/ip_forward
  /sbin/iptables -F FORWARD
  /sbin/iptables -F INPUT
  /sbin/iptables -F OUTPUT
  /sbin/iptables -P INPUT  ACCEPT
  /sbin/iptables -P OUTPUT  ACCEPT
  /sbin/iptables -P FORWARD ACCEPT
  /sbin/iptables -t nat -A POSTROUTING -s Local-IP -j SNAT --to  Public-IP
  
  I am using linux as a router in more than 250 locations.
  
 
 errr.. dont you think you're being a bit generous with those settings ? 
 are you really really sure you dont want any policy whatsoever for any 
 chain's
 
 - KB
 

I have send the code after removing our firewall policies.


[S K Goel]


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/