Hi Folks,
I run omv 3 on a HP proliant micro
Since recently when ever I restart that machine, I have some entries in my routing table I have no cloue where they come from.
I have this machine run a tun0 with OpenVPN to an other machine. the OMV is the client and that route is there as it should be.
root@ProLiant-Gen8-OMV4:~# ip route show
default via 10.101.111.1 dev bond0 onlink
10.10.111.0/29 dev tun0 proto kernel scope link src 10.10.111.2
10.100.111.0/24 via 10.10.111.1 dev tun0
10.101.111.0/24 dev bond0 proto kernel scope link src 10.101.111.11
root@ProLiant-Gen8-OMV4:~#
after a reboot it looks like this
root@ProLiant-Gen8-OMV4:~# ip route show
default via 10.101.111.1 dev bond0 onlink
10.10.111.0/29 dev tun0 proto kernel scope link src 10.10.111.2
10.100.111.0/24 via 10.10.111.1 dev tun0
10.101.111.0/24 dev bond0 proto kernel scope link src 10.101.111.11
10.102.111.0/24 via 10.10.111.1 dev tun0
10.103.111.0/24 via 10.10.111.1 dev tun0
root@ProLiant-Gen8-OMV4:~#
But I cant finde where the route for the OpenVPN comes from.
On startup I have cron do this (set via omv webinterface)
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE && iptables -t nat -A POSTROUTING -o bond0 -j MASQUERADE
Im kind of dump struck right now (maybe due to time of day...), could someone just point me in the right direction?
What I am totaly dumbfounded about is this:
Since many years I run my network in the 10.xxx.111.0/24 range.
While my internet-server start with 100 and all my dail up sites go from 101 to 109 for the xxx
While all my VPN networks (if I had to define the tunnel IP) is 10.yy.111.0/24 starting with 10
Now i had a site that was for what ever reasouns on 10.7.0.0/24 so I moved an other site that was out of the sort I wanted from 102 to 109 and while changing my DSL modem at the 10.7.0.0/24 site I switched over to 10.102.111.0/24
Most of my VPN goes through FritzBox Lan-Lan also the 102 network. old as well as new site.
now out of nowhere I have this route for 102 and 103 in my OMV just after I changed the networks on the off sites. And I have no clue why.
I did use SMB from 102 the past 10 years with no nothing, now from the new site, I have to kill the route every restart of the omv (well thats seldom, but about twice a year, and then I will forget to delete the route or am not present while restart)
Since the 101 is the center of the spider web as I have there the file-, phone-, db- and backup-servers, I dont know why my OMV has now a route for 102 that points to my 100 machine, while the 102 did never have an uplink to 100.
Thanks