DHCP without SecureNAT

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

DHCP without SecureNAT

Post by Mada » Mon Jun 22, 2015 7:34 am

I have read several posts about not combining SecureNAT and local bridge.

I have both but can not get it to work without Secure NAT. And anyway, I get private ip addresses from the DHCP so address translation has to occur somehow.

My setup:

Internet <--> external NIC | Softether server | internal NIC <--> swith etc

The internal NIC is set up with only the softhether lightweight stack (as per manual).

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: DHCP without SecureNAT

Post by kh_tsang » Mon Jun 22, 2015 1:37 pm

Change the default gateway to your own router.

I am doing similar thing by changing the default gateway from the default one to the IP address of the tap device and do NAT with iptables in the OS. You can disable virtual NAT feature in SecureNAT if you want but you will need to provide another IP address of the DNS in the DHCP Settings.

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: DHCP without SecureNAT

Post by kh_tsang » Mon Jun 22, 2015 1:54 pm

As picture
[attachment=0]19.png[/attachment]
You do not have the required permissions to view the files attached to this post.

Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

Re: DHCP without SecureNAT

Post by Mada » Mon Jun 22, 2015 8:34 pm

Does that mean I need a router between internet and my softether server?

I tried to give the default GW my ISP gives the softether server and Google DNS:s.

My softether server takes to my switch with my external NIC. The switch is connected to the media converter my ISP has installed.

The outer NIC is connected to my inside at the (two) sites. Second site used 3G modem.

Thanks,

kh_tsang wrote:
> Change the default gateway to your own router.
>
> I am doing similar thing by changing the default gateway from the default
> one to the IP address of the tap device and do NAT with iptables in the OS.
> You can disable virtual NAT feature in SecureNAT if you want but you will
> need to provide another IP address of the DNS in the DHCP Settings.

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: DHCP without SecureNAT

Post by kh_tsang » Tue Jun 23, 2015 3:56 am

No need if your ISP is giving you a static IP subnet. Actually, I assume your local bridge is under NAT in the previous reply, not connecting directly to the ISP.

Mada
Posts: 102
Joined: Sat Jun 20, 2015 9:40 am

Re: DHCP without SecureNAT

Post by Mada » Tue Jun 23, 2015 12:24 pm

kh_tsang wrote:
> No need if your ISP is giving you a static IP subnet. Actually, I assume
> your local bridge is under NAT in the previous reply, not connecting
> directly to the ISP.

No basically I have one NIC connected to the internet. That NIC get a public ip but it is DHCP assigned.

The outer NIC is locally bridged to the virtual HUB. That NIC only have softether lightweight stack. That NIC also have a physical ethernet segment in the form of a switch and some terminals.

The bridged site has the same setup but connects over 3G so it gets "NAT"ed adress.

So all traffic goes through the two softhether "servers".

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: DHCP without SecureNAT

Post by kh_tsang » Tue Jun 23, 2015 12:45 pm

So is this your setup? In this case, you don't need SecureNAT because the external DHCP server will assign IP for you. However, not all ISPs assign additional IPs when you connect more devices to it.
You do not have the required permissions to view the files attached to this post.

Post Reply