Search found 2 matches

by cxf_rocks_ty
10 Mar 2023, 11:56
Forum: General Discussion (csf)
Topic: hwdsl2 ipsec VPN does not work when CSF is activated
Replies: 1
Views: 1569

Re: hwdsl2 ipsec VPN does not work when CSF is activated

Here's what I tried and appears to work, I think. nano /etc/csf/csfpre.sh and add iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -s 192.168.42.0/24 -j ACCEPT iptables -t nat -A POSTROUTING -s 192.168.42.0/24 -o eth0 -j MASQUERADE Replace "192.168.42.0/24&...
by cxf_rocks_ty
10 Mar 2023, 06:41
Forum: General Discussion (csf)
Topic: hwdsl2 ipsec VPN does not work when CSF is activated
Replies: 1
Views: 1569

hwdsl2 ipsec VPN does not work when CSF is activated

I installed this VPN script on a CentOS 7 WHM system with CSF https://github.com/hwdsl2/setup-ipsec-vpn While I am able to connect to the VPN successfully, I cannot connect to any website or service over the VPN until I execute this command via SSH systemctl restart iptables But if I execute above c...