Problem with pingign OpenWrt from pfsense vpn tunel

I have problem with accesing OpenWrt from VPN.
I have no response when ping 192.168.0.2 from 192.168.10.2.
There is no problem with ping 192.168.0.101 from 192.168.10.2.
And there is no problem whewn pingign 192.168.0.2 from 192.168.0.0.

In pfsens states I have sean opened connection from 192.168.10.2 to 192.168.0.2 with no packets.

I gues there is problem with OpenWrt.

OpenWrt work as acces point and is connectet to pfsense using two VLANs (one for lan and one for guest network).

I tried disable fireall and masquarading on OpenWrt but it didnt help.

Does OpenWrt have a default gateway or at least a static route for the vpn network?

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/firewall

Hi, thank You for Your responses.

I tried add static routing (like bellow) and it's working.

config route
        option interface 'lan'
        option target '192.168.10.0/24'
        option gateway '192.168.0.1'

An after checking default gateway I realized that it was incorrect

config interface 'lan'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option gateway '192.168.1.1'
        option device 'br-lan.10'
        option ipaddr '192.168.0.2'

I replaced gateway witch 192.168.0.1 and it's now working widouth static routing.

Thanks!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.