Closed obsy closed 3 years ago
After restarting firewall
root@Gargoyle:/# /etc/init.d/firewall stop Warning: Unable to locate ipset utility, disabling ipset support
iptables -h' or 'iptables --help' for more information. iptables v1.8.3 (legacy): unknown protocol "tcp tcp" specified Try
Problem with https://github.com/ericpaulbishop/gargoyle/blob/master/package/plugin-gargoyle-openvpn/files/etc/openvpn.firewall#L142 - if any client connected, this line returns more lines
root@Gargoyle:/# netstat -apn | grep openvpn tcp 0 0 0.0.0.0:1194 0.0.0.0:* LISTEN 5220/openvpn tcp 0 0 192.168.1.1:1194 192.168.1.166:40646 ESTABLISHED 5220/openvpn unix 2 [ ] DGRAM 6735 5220/openvpn
Add uniq or head -1 or search for 0.0.0.0 etc.
After restarting firewall
root@Gargoyle:/# /etc/init.d/firewall stop Warning: Unable to locate ipset utility, disabling ipset support
iptables -h' or 'iptables --help' for more information. iptables v1.8.3 (legacy): unknown protocol "tcp tcp" specified Try
iptables -h' or 'iptables --help' for more information.Problem with https://github.com/ericpaulbishop/gargoyle/blob/master/package/plugin-gargoyle-openvpn/files/etc/openvpn.firewall#L142 - if any client connected, this line returns more lines
Add uniq or head -1 or search for 0.0.0.0 etc.