- Server Setup:
- VPN Server IP:
172.16.1.1
- Client Assigned VPN IP:
172.16.1.6
- Client Local LAN IPs:
10.10.10.1
and192.168.10.1
- Observed Behavior:
Works: Pinging
192.168.10.1
from the VPN server (172.16.1.1
) succeeds.Fails: Pinging
10.10.10.1
from the VPN server drops with no response.- OpenVPN logs show:
MULTI: bad source address from client [10.10.1.1], packet dropped
- Troubleshooting Done:
- Verified routes (
ip route
) on both server and client. - Added
push "route 10.10.10.0 255.255.255.0"
toserver.conf
. - Checked firewall rules (
iptables
)—no blocking rules found. - Temporarily disabled NAT (
MASQUERADE
) on the client, but the issue persists.
Server Side Rutx 50 directly connected with Static Public ip
Client Side OTD 500 With 5 G Sim
TLS Client Added and configured
Route Table of Rutx50
root@RUTX50:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.8.1 0.0.0.0 UG 1 0 0 eth1
172.16.1.0 172.16.1.2 255.255.255.0 UG 0 0 0 tun_s_1
172.16.1.2 * 255.255.255.255 UH 0 0 0 tun_s_1
172.16.1.6 * 255.255.255.255 UH 0 0 0 tun_s_1
192.168.8.0 * 255.255.255.0 U 1 0 0 eth1
192.168.10.0 * 255.255.255.0 U 0 0 0 br-lan
root@RUTX50:~#