Timeline for OpenWRT: Forward traffic to non private IP address space through VPN
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 23, 2014 at 16:17 | comment | added | MariusMatutiae | @jelhan the correct command is route add -net 192.168.178.0/24 gw 192.168.178.1 ...: you need the net flag. | |
Feb 23, 2014 at 14:18 | comment | added | jelhan |
My OpenWRT doesn't have ip package. I tried to apply your command on route like this route add 192.168.178.0/24 gw 192.168.178.1 dev br-wan but this fails with route: netmask 000000ff and host route conflict . I could apply your iptables route with correcting destination ip address space to 192.168.178.0/24 but afterwards 192.168.178.0/24 is still not accessible from behind vpn router. Also I would really like to stay with UCI configuration.
|
|
Feb 23, 2014 at 14:01 | history | answered | MariusMatutiae | CC BY-SA 3.0 |