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

Re: How to configure eth0 with static ip and eth1 dhcp



On Sun, Feb 23, 2014 at 07:15:20AM -0500, Dan Purgert wrote:
> It's been ages since I've done routing on a 2-NIC PC/router.  I've probably
> gotten something a bit wrong.
> 
I *think* for the pc to act as a router you need to have:

net.ipv4.ip_forward=1

in /etc/sysctl.conf 

Then you configure your firewall to restrict what can be forwarded
through the router pc.

-Rob

Attachment: signature.asc
Description: Digital signature


Reply to: