d3vilh / openvpn-ui

Web User Interface for OpenVPN
MIT License
169 stars 39 forks source link

Port forwarding to client #46

Closed namen3645 closed 3 months ago

namen3645 commented 5 months ago

Ho to port forward to client?

d3vilh commented 5 months ago

Hi @namen3645, You should do it on the OpenVPN server side. If you are running OpenVPN-UI in a couple with openvpn-server container, raspberry-gateway or openvpn-aws, then you can use firewall-rules.sh script to add any forwarding rules (how to do it described in this sticked issue.

For local installations, just use your iptables or ufw to add any permanent rules you would like.

d3vilh commented 4 months ago

Hi @namen3645, how are you doing today? Would you let me know if you managed to apply forwarding?