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.
			
									
									
						Port Mapping fron physical network into vpn network
- 
				ColDPhoenix
 - Posts: 2
 - Joined: Tue Dec 09, 2014 11:54 am
 
- 
				thisjun
 - Posts: 2458
 - Joined: Mon Feb 24, 2014 11:03 am
 
Re: Port Mapping fron physical network into vpn network
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
			
									
									
						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
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.
			
									
									
						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
It can be done by access list.
Of course your way will work.
			
									
									
						Of course your way will work.
