Skip to content

Port forwarding

Ycarus edited this page May 3, 2018 · 28 revisions

If you want to redirect ports from the VPS to OpenMPTCProuter you need to configure GloryTUN:

On the VPS, you need to uncomment last lines of /etc/shorewall/rules to forward ports from the VPS to OpenMPTCProuter via GloryTUN like this:

DNAT        net     vpn:10.0.0.2      tcp     1-64999
DNAT        net     vpn:10.0.0.2      udp     1-64999

And restart shorewall:

systemctl restart shorewall