Skip to content

Port forwarding

Ycarus edited this page Jun 6, 2018 · 28 revisions

You need to have Glorytun configured on OpenMPTCProuter.

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