Search found 2 matches

by tigernet
03 Jan 2017, 09:54
Forum: General Discussion (csf)
Topic: Centos Gateway
Replies: 1
Views: 1895

Re: Centos Gateway

Turns out all we had to do was include the following in csfpost.sh (or csfpre.sh) for the gateway to work for our internal guest VMs. /sbin/iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT However, we are also using the gateway for IPSEC VPNs with libreswan and this has also stoppe...
by tigernet
22 Dec 2016, 09:42
Forum: General Discussion (csf)
Topic: Centos Gateway
Replies: 1
Views: 1895

Centos Gateway

We're trying to build a Centos Gateway for our cloud host server. This is actually easier than I first thought with iptables using the following command to set-up NAT masquerading: /sbin/iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE Having already set-up IP Forwarding,...