unifios-utilities icon indicating copy to clipboard operation
unifios-utilities copied to clipboard

Help needed: Adding pseudo-ethernet interface and masquerading

Open nicx opened this issue 3 years ago • 5 comments

Is it in any way possible to use the on.boot-script for adding a pseudo-ethernet interface for ethX with masquerading as described here? https://owennelson.co.uk/accessing-a-modem-through-a-ubiquiti-usg/

nicx avatar Feb 25 '22 07:02 nicx

no one? :(

nicx avatar Mar 18 '22 10:03 nicx

I access my att router using static routes.

boostchicken avatar Jul 12 '22 10:07 boostchicken

I access my att router using static routes.

Could you please tell me about how to do it?

axelburks avatar Jul 18 '22 13:07 axelburks

I'm also trying to find a way to port this config so I can access my ONT's web GUI. Any ideas?

{
   "interfaces": {
     "pseudo-ethernet": {
       "peth0": {
         "address": [
           "192.168.100.2/24"
         ],
         "description": "Access to ONT",
         "link": "eth0"
       }
     }
   },
   "service": {
     "nat": {
       "rule": {
         "5000": {
           "description": "Access to ONT",
           "destination": {
             "address": "192.168.100.1"
           },
           "outbound-interface": "peth0",
           "type": "masquerade"
         }
       }
     }
   }
 }

asiermartinez avatar Aug 14 '22 09:08 asiermartinez

Hi! I found a solutioin for this. First, follow the instructions here Add the IP on the WAN port. After that, set a static route in your upstream device (ONT,modem,router etc.) like Destionation: Your subnet (192.168.0.0/16) Metric:1 Next Hop: The static IP you added before

xrh0905 avatar Jan 20 '23 02:01 xrh0905