Skip to main content
update info for telcom
Source Link

ip route show table main

default via 192.168.14.1 dev eth2 proto dhcp src 192.168.14.7 metric 205 
10.125.146.0/24 dev wg0 proto kernel scope link src 10.125.146.2 
169.254.0.0/16 dev eth0 scope link src 169.254.50.120 metric 202 
192.168.14.0/24 dev eth2 proto dhcp scope link src 192.168.14.7 metric 205 
192.168.50.0/24 dev eth1 proto kernel scope link src 192.168.50.2 linkdown 
192.168.220.0/24 dev eth0 proto kernel scope link src 192.168.220.2 

ip route show table main

default via 192.168.14.1 dev eth2 proto dhcp src 192.168.14.7 metric 205 
10.125.146.0/24 dev wg0 proto kernel scope link src 10.125.146.2 
169.254.0.0/16 dev eth0 scope link src 169.254.50.120 metric 202 
192.168.14.0/24 dev eth2 proto dhcp scope link src 192.168.14.7 metric 205 
192.168.50.0/24 dev eth1 proto kernel scope link src 192.168.50.2 linkdown 
192.168.220.0/24 dev eth0 proto kernel scope link src 192.168.220.2 
topology
Source Link
                 ---------------------------------
                 |                               |
                 |                               |
-----> eth2 (WAN)  --------> WG0-->------->----->  eth0 LAN 192.168.220.2
   192.168.14.7  |       |                       |
                 |       |   eth2 to eth1        |  
                 |       ->---->---------->----->  eth1 LAN  192.168.50.2
                  --------------------------------
                 ---------------------------------
                 |                               |
                 |                               |
-----> eth2 (WAN)  --------> WG0-->------->----->  eth0 LAN 192.168.220.2
   192.168.14.7  |       |                       |
                 |       |   eth2 to eth1        |  
                 |       ->---->---------->----->  eth1 LAN  192.168.50.2
                  --------------------------------
correct error
Source Link

If I connected my another laptop to eth1 the public IP is from wg0 too. I don't want it. I want to connect another laptop to eth1 192.168.50.2 without IP from wg0. I want eth1 to have the pucblicpublic IP that comes from eth2 WAN.

If I connected my another laptop to eth1 the public IP is from wg0 too. I don't want it. I want to connect another laptop to eth1 192.168.50.2 without IP from wg0. I want the pucblic IP that comes from eth2 WAN.

If I connected my another laptop to eth1 the public IP is from wg0 too. I don't want it. I want to connect another laptop to eth1 192.168.50.2 without IP from wg0. I want eth1 to have the public IP that comes from eth2 WAN.

Source Link
Loading