wfg / docker-openvpn-client

OpenVPN client with killswitch and proxy servers; built on Alpine
MIT License
353 stars 107 forks source link

Kill switch feature and http proxy in Podman (eth0/tap0) #87

Open wayofka opened 1 year ago

wayofka commented 1 year ago

In the entry point script ( entry.sh ) is for kill switch used eth0 network device (both iptables and nftables). Podman default network device is tap0. For using kill switch in Podman just replace eth0 for tap0 in entry.sh and build image. Tested with podman 3.4.4 and 4.3.0.

Same for tinyproxy start script (run-http-proxy.sh) in fetching listen addr (addr_eth0 variable ).

Thanks for your work.