Re: Using a CentOS 6 Machine as a gateway/router/home server

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



Am 28.06.2015 um 20:50 schrieb Max Pyziur:

[ ... ]

I can't connect from the home machines directly to the Internet.

I have set
net.ipv4.ip_forward = 1
in /etc/sysctl.conf

I haven't setup the firewall yet (dangerous, I know) until I get the
connectivity working.

Part of the firewall setup (iptables) is to configure masquerading. That's you issue, the missing masquerading of the traffic from the LAN hosts through the gateway.

I'm obviously overlooking some other configuration settings required for
machines inside the network being able to connect through the
gateway/router.

Thanks for any advice in advance.


Max Pyziur
pyz@xxxxxxxxx

Alexander

_______________________________________________
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