Hello there!
I have a problem with using tunnel stolen from sing-box config, which seems to work with v2rayA: when state is ready -- traffic goes in, when its stopped -- no traffic goes in. I assume that v2rayA hooks tun0 interface.
Here's the deal: there is no ping from LAN to internet. At all.
Please help!
Thx in advance
here's my network config
config interface 'tun0'
option device 'tun0'
option proto 'static'
option ipaddr '172.16.250.1'
option netmask '255.255.255.0'
list dns '1.1.1.1'
option gateway '192.168.1.1'
firewall config:
config zone
option name 'tun'
option forward 'ACCEPT'
option output 'ACCEPT'
option input 'ACCEPT'
option masq '1'
option mtu_fix '1'
option device 'tun0'
option family 'ipv4'
config forwarding
option name 'lan-tun'
option dest 'tun'
option src 'lan'
option family 'ipv4'
pinging from local pc with firewall enabled:
~ % ping google.com
PING google.com (173.194.221.102): 56 data bytes
92 bytes from openwrt.lan (192.168.2.1): Destination Port Unreachable
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 5400 d393 0 0000 3f 01 5967 192.168.2.221 173.194.221.102
pinging without firewall (disabled):
~ % ping google.com
PING google.com (142.251.1.138): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
^C
--- google.com ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss