hwdsl2 / setup-ipsec-vpn

Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Other
24.9k stars 6.28k forks source link

Can I use nftables instead of iptables #1545

Closed algoritmsystems closed 5 months ago

algoritmsystems commented 5 months ago

When I run: #sh vpn.sh Getting this error: wget -t 3 -T 30 -q -O /tmp/vpn.fKYft/vpn.sh https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/vpnsetup_ubuntu.sh VPN credentials not set by user. Generating random PSK and password... Error: IPTables check failed. Reboot and re-run this script.

How to run script with installed nftables instead of iptables? Thanks!

hwdsl2 commented 5 months ago

@algoritmsystems Hello! If you encounter this error, try rebooting your server and re-run the script after that. If that doesn't help, it may not be currently supported, you can instead try e.g. OpenVPN or WireGuard.