Hello dear forum.
I have a very strange problem. first let me show you an output of
I want to delete the route 10.1.2.0 to the 10.1.2.2 gateway so I typed.
output
But as soon as I restart the server or restart my OpenVPN server the route reappears!
I've also tried route flush command without success, I added the routes with the route add command. No matter what I do I can't seem to get rid of them. The reason I want them gone is because it was a typo on my end.
I've no extra setting in my Openvpn server config that adds routes to the FreeBSD system. only push commands.
I want to delete all the 10.x.x.x entries, but as soon as I delete them, they stay deleted only until I restart the server or OpenVPN.
I have a very strange problem. first let me show you an output of
netstat -r
Code:
nas4free:~# netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default DD-WRT UGS 0 21230 re0
10.1.2.0 10.1.2.2 UGS 0 0 tun0
10.1.2.1 link#7 UHS 0 0 lo0
10.1.2.2 link#7 UH 0 0 tun0
localhost link#6 UH 0 710 lo0
192.168.2.0 link#3 U 0 1709 re0
nas4free link#3 UHS 0 0 lo0
I want to delete the route 10.1.2.0 to the 10.1.2.2 gateway so I typed.
route delete -net 10.1.2.0/24 10.1.2.2 255.255.255.0
output
Code:
nas4free:~# route delete -net 10.1.2.0/24 10.1.2.2 255.255.255.0
delete net 10.1.2.0: gateway 10.1.2.2
But as soon as I restart the server or restart my OpenVPN server the route reappears!
I've also tried route flush command without success, I added the routes with the route add command. No matter what I do I can't seem to get rid of them. The reason I want them gone is because it was a typo on my end.
I've no extra setting in my Openvpn server config that adds routes to the FreeBSD system. only push commands.
I want to delete all the 10.x.x.x entries, but as soon as I delete them, they stay deleted only until I restart the server or OpenVPN.