Page 1 of 1

Port Mapping fron physical network into vpn network

Posted: Tue Dec 09, 2014 12:03 pm
by ColDPhoenix
Hello, i wanna use VPN server like gateway to my home resources.
So i will need to map port from VPN-server into VPN-network to VPN-client
but not all Phy interface, only some ports.
for example 80.

How i can do it?
i'm using Ubuntu Server x64. VPN-server have one hub and one NIC.

Re: Port Mapping fron physical network into vpn network

Posted: Tue Dec 16, 2014 9:10 am
by thisjun
Do you want to limit accessing from VPN to your physical network?
If so, please use access list.
http://www.softether.org/4-docs/1-manua ... ccess_List

Re: Port Mapping fron physical network into vpn network

Posted: Tue Dec 16, 2014 11:02 am
by ColDPhoenix
I want to setup mapping from PHY to VPN
for example someone open connection to VPN-server with port 8080 from PHY interface, but actual connection goes to PC inside VPN.
something like this:
Client---(Internet)-->VPN-server---(VPN)-->Server

only idea i have is tap-create to VPN-Hub and with iptables forward all what i need to this interface.

Re: Port Mapping fron physical network into vpn network

Posted: Thu Jan 08, 2015 5:25 am
by thisjun
It can be done by access list.
Of course your way will work.