Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Ping from firewall across VPN
« previous
next »
Print
Pages: [
1
]
Author
Topic: Ping from firewall across VPN (Read 936 times)
HollinCH
Newbie
Posts: 7
Karma: 1
Ping from firewall across VPN
«
on:
April 20, 2022, 02:42:20 pm »
Hi there,
With Fortigate firewalls one can specify the IP address of an available LAN interface to use as source address in order to ping an address reachable across a VPN, which comes in handy to check if connectivity works.
Does OpnSense have a similar feature available?
Thanks, kind regards,
Jaap
Logged
HollinCH
Newbie
Posts: 7
Karma: 1
Re: Ping from firewall across VPN
«
Reply #1 on:
April 20, 2022, 02:48:54 pm »
OK found it, you can specify -S <source ip> in the ping command.
So for example:
root@vesenaz:~ # ping -S 192.168.74.1 192.168.73.10
PING 192.168.73.10 (192.168.73.10) from 192.168.74.1: 56 data bytes
64 bytes from 192.168.73.10: icmp_seq=0 ttl=127 time=5.848 ms
64 bytes from 192.168.73.10: icmp_seq=1 ttl=127 time=5.519 ms
64 bytes from 192.168.73.10: icmp_seq=2 ttl=127 time=5.290 ms
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Ping from firewall across VPN