標題: Openconnect VPN server implementation on OpenWRT since version 22.03.x [打印本頁] 作者: tomleehk 時間: 2022-12-18 15:27 標題: Openconnect VPN server implementation on OpenWRT since version 22.03.x
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作者: Skypeus 時間: 2022-12-24 10:07