Port Mapping fron physical network into vpn network

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
ColDPhoenix
Posts: 2
Joined: Tue Dec 09, 2014 11:54 am

Port Mapping fron physical network into vpn network

Post by ColDPhoenix » Tue Dec 09, 2014 12:03 pm

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.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Port Mapping fron physical network into vpn network

Post by thisjun » Tue Dec 16, 2014 9:10 am

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

ColDPhoenix
Posts: 2
Joined: Tue Dec 09, 2014 11:54 am

Re: Port Mapping fron physical network into vpn network

Post by ColDPhoenix » Tue Dec 16, 2014 11:02 am

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.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Port Mapping fron physical network into vpn network

Post by thisjun » Thu Jan 08, 2015 5:25 am

It can be done by access list.
Of course your way will work.

Post Reply