Modify

Opened 2 years ago

Last modified 2 years ago

#20571 new defect

OpenVPN add multiple routes to server config

Reported by: nobody000@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: OpenVPN Cc:

Description

Dear OpenWRT Team,

I am trying to add two routes for networks behind two clients. I added the config line "option route '192.168.2.0 255.255.255.0 192.168.3.0 255.255.255.0' to openvpn server config. (also tried through the GUI)

After restarting the openvpn service, I get an error

/sbin/route add -net 192.168.2.0 netmask 255.255.255.0 metric 255 gateway 192.168.3.0
route: SIOCARDDRT: Network not reachable"

It seams, the config file is parsed incorrectly. And only one route is tried to add.

Please cf. bug or advise a different aproach.

Thank you for your help.

Best Regards,
Mexx

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by fclql@…

Using iproute2 do policy routing

comment:2 Changed 2 years ago by fclql@…

Using iproute2 do policy routing

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.