Temat: IP zza VPNa w świat.

Kombinuje żeby przerzucić IP zza tunelu w świat przez VPNa z regułami:

config redirect 'xxxx'
    option name 'xxxx'
    option src 'wan'
    option dest 'vpn'
    option proto 'udp'
    option src_dport '12345'
    option dest_ip '10.0.2.244'
    option dest_port '80'

config redirect 'xxxx2'
    option name 'xxxx2'
    option src 'wan'
    option dest 'vpn'
    option proto 'tcp'
    option src_dport '12345'
    option dest_ip '10.0.2.244'
    option dest_port '80'

Wynik route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         172.22.32.1     0.0.0.0         UG    0      0        0 eth0.2
10.0.0.0        *               255.255.255.0   U     0      0        0 tun0
10.0.2.0        10.0.0.10       255.255.255.0   UG    0      0        0 tun0
172.22.32.0     *               255.255.240.0   U     0      0        0 eth0.2
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan

I z zewnatrz wpisując moje publiczne ip:12345 nie ma  nic. Jak to ugryzc?

RB760iGS + RB260GS / Ryzen 5 2660 / 16G DDR4 / MiniITX - Inea 1G (https://i.imgur.com/TLbJVDw.png)
RB951-2HnD / Celeron J1900 / 4G DDR3 / MiniITX - Satpol 100M