Page 1 of 1
Help with LAN-to-LAN IPsec VPN
Posted: Thu Sep 15, 2016 6:18 pm
by aproT
I've installed Bridge on one linux server and Server on another and basically done the following setup.
Server:
IPSecEnable
HubCreate
BridgeCreate, bridging to eth0
In the hub: UserCreate and UserPasswordSet
Bridge
hub BRIDGE
BridgeCreate, bridging to eth0
CascadeCreate
CascadePasswordSet
CascadeOnline
After that the logs show that I have a working connection between Server and Bridge. The Bridge is on a 77.x.x.x address, and the Server is on 192.168.2.65 on my internal network. From the Bridge-server I've tried ssh/ping against addresses on my internal network without luck. Running mtr/traceroute I see that it has no idea where the traffic should go. Have I forgotten any steps in my configuration?
Re: Help with LAN-to-LAN IPsec VPN
Posted: Fri Sep 16, 2016 11:41 am
by raafat
What is the Bridge-server side internal network ?
Re: Help with LAN-to-LAN IPsec VPN
Posted: Fri Sep 16, 2016 6:37 pm
by aproT
Not really sure what the answer to that is, but I'll try to explain some more.
Server:
The server is installed on a virtual machine on our network. The eth0 adapter is bridged, and the machine has a 192.168.2.x address on our network.
Bridge:
The bridge is installed on a VPS. It had only the address we could reach it from outside until today. Then we created another network adapter eth1 to get an internal network as well. Tried bridging to both of them without success. Below is the routing table, with the IP address anonymized.
test@ec05:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 79.xxx.xx.x 0.0.0.0 UG 0 0 0 eth0
10.26.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
79.xxx.xx.x 0.0.0.0 255.255.255.0 U 0 0 0 eth0
It may be that I'm missing something vital here, since I know (next to) nothing about routing or vpn.
Re: Help with LAN-to-LAN IPsec VPN
Posted: Fri Sep 16, 2016 10:12 pm
by raafat
aproT wrote:
> Not really sure what the answer to that is, but I'll try to explain some
> more.
>
> Server:
> The server is installed on a virtual machine on our network. The eth0
> adapter is bridged, and the machine has a 192.168.2.x address on our
> network.
>
> Bridge:
> The bridge is installed on a VPS. It had only the address we could reach it
> from outside until today. Then we created another network adapter eth1 to
> get an internal network as well. Tried bridging to both of them without
> success. Below is the routing table, with the IP address anonymized.
>
> test@ec05:~$ route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 0.0.0.0 79.xxx.xx.x 0.0.0.0 UG 0 0 0
> eth0
> 10.26.0.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth1
> 79.xxx.xx.x 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
>
> It may be that I'm missing something vital here, since I know (next to)
> nothing about routing or vpn.
Try to find out if the web interface that you use to administer your VPS has an option for enabling "Promiscuous mode", if so, make sure that option is enabled on the Ethernet interface that is bridged to the internal network, if you couldn't find any option, then try your luck with this command :
ifcofnig eth1 promisc
Assuming your eth1 is connected to your internal network that is you desire to connect to remotely. Also, depending on your platform, may be you have to execute that command as a root. it's highly recommended to execute that command as a root. Finally, let's see the output of the command : "ifconfig eth1" to see configuration of eth1 on your VPS.
Good luck (:
Re: Help with LAN-to-LAN IPsec VPN
Posted: Wed Oct 05, 2016 7:40 am
by thisjun
What is your goal?
Why do you create bridge on VPS?
Re: Help with LAN-to-LAN IPsec VPN
Posted: Wed Oct 05, 2016 7:05 pm
by aproT
My goal has changed now :)
Goal: Connect SoftEther to a remote site with Cisco hardware. I have received an IP and a PSK, and I'm currently trying to figure out how to make a connection. I thought I could use the SoftEther Bridge, but perhaps this can only be used if I have a SoftEther server as well? I have received an IP and a PSK, and that is pretty much all the info I have about the remove site...
Sorry for the vague question, but I really have no experience with VPN.
EDIT: Basically the other site is running Cisco HW and is the central server. I want to setup "something SoftEther" to connect to them, using IPSec site-to-site.
Re: Help with LAN-to-LAN IPsec VPN
Posted: Wed Nov 02, 2016 6:23 am
by cedar
SoftEther VPN doesn't support bare IPsec protocol.
Cisco router can connect to SoftEther VPN Server with L2TPv3/IPsec.
But SoftEther VPN Bridge can't be an initiator.