DHCPd Config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 From my firewall script in BASH lines like this is what you should be 
thinking of using:

iptables -t nat -A POSTROUTING --source $LAN_IP_RANGE --out-interface 
$EXT_IFACE -j SNAT --to-source $EXT_IP
 

Lee W wrote:

> Johnny Hughes wrote:
>
> <snip>
>
>> You need to do ip-masquerading to pass traffic thru a linux box as a
>> gateway.  That requires 2 NICs and an iptables script which does
>> masquerading
>>
>> I use this script to setup that kind of box:
>> http://ldp.hughesjr.com/HOWTO/IP-Masquerade-HOWTO/stronger-firewall-examples.html#RC.FIREWALL-2.4.X-STRONGER 
>>
>>  
>>
> Is it absolutely necessary to use IP-Masq / NAT in order to setup 
> Linux as a Router?
>
> I'm trying to setup a few Linux machines (Centos of course) as 
> convential routers as opposed to Gateways so that I can learn more 
> about routing between them on various Subnets.
> All the How-To's I've found talk about Masq, I would appreciate if 
> anyone can point me in the direction of a convential Linux router howto.
>
> Thanks in advance
>
> Regards
>
> Lee
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux