Hello forum,
I'm moving from old physical Debian i386-based server running @ IBM hardware to brand new HP Proliant with pfSense as KVM.
I have such setup on another floor (running pfSense as KVM i386, shaping ~70Mbit very well). However, I have some problems to move OpenVPN configuration from old Debian to pfSense.
I did it once with full success, so it's very strange why it isn't working this time.
Schematics:
- working config is:
WAN -> HP Proliant G6 -> KVM i386 pfSense node1 (VPN client) -> encrypted channel over OpenVPN (ISP LAN) -> Debian i386 (VPN server) -> users- and I'm going to reach this:
WAN -> HP Proliant G6 -> KVM i386 pfSense node1 (VPN client) -> encrypted channel over OpenVPN (ISP LAN) -> KVM pfSense node2 (VPN server) -> HP Proliant G7 -> usersIt failed with amd64 as second pfSense node (I was trying something new, since I never depoloyed amd64 pfSense yet).
OpenVPN error messages said successfully connected, but
I'm unable to add route via OpenVPN interfaces default gateway.
So what I'm trying to do is:
- set up OpenVPN server (pfSense node2)
- add certificates from old server (node2)
- set encryption same as client (node2)
- add virtual interface interface in node2 (it doesn't bring up on boot! so it's failing here). Tried both: dynamic IP or static, both methods failed.
- start the server (it's starting)
- add default route via VPN (saying it's not reachable)
- huge delay on boot node2 since default gateway is not reachable.
Any ideas how to solve this? Right now I'm starting over again..
UPDATE: ok, I've replaced /var/etc/openvpn/server1.conf file to match config I'm using, however it's overwritten on every boot and also doesn't match pfSense standard.
Is there any how-to for WAN sharing over site-to-site VPN?
UPDATE:
ok I've compared both confings. In old config there are:
local x.x.x.x
remote x.x.x.x
float
ifconfig IP_VPN1 IP_VPN2
route <remote_IP_network> <local_netmask>
However, pfSense adds:
[b]server x.x.x.x[/b]
ifconfig IP_VPN1 IP_VPN2
local x.x.x.x
"server" statement, which is huge difference, since it sets OpenVPN server mode.
How to remove "server" statement from there?