Openconnect VPN server implementation on OpenWRT since version 22.03.x
本帖最後由 tomleehk 於 2022-12-18 16:16 編輯
Reference
http://www.telecom-cafe.com/forum/viewthread.php?tid=6770
iptables rules are no longer supported in Openwrt since version 22.03.x(Firewall uses fw4,ie. nftables) and therefore following firewall rules are unable to be captured at LUCI (Network/Firewall).
iptables -I INPUT -p tcp --dport 443 -j ACCEPT
iptables -I INPUT -p udp --dport 443 -j ACCEPT
iptables -I FORWARD -i vpns+ -s 192.168.60.0/24 -j ACCEPT
iptables -I INPUT -i vpns+ -s 192.168.60.0/24 -j ACCEPT
An equivalent configuration can be created at Firewall/Traffic Rules to do the same job.
Name : OpenConnect
Protocol : TCP/UDP
Source zone : Any zone
Source address : 192.168.60.0/24
Source port : any
Destination zone : wan/wan6
Destination port : any
Action : accept |