I have a sim that doesn’t have a legal IP -
I can find out my external IP with my http://myip.dnsomatic.com/
but if I try to do a EOIP tunnel between them I don’t get any replay (the other router have a legal IP)
is there a reason?
can I do this at all?
the only rule I have is masquerade and this is all
maybe this will help some more
Router#1 - connect to the internet using pppoe , I have a static IP “legal”.
Router#2 - connect to the internet using 4G modem , I don’t have static IP.
I want to be able to make them work in the same network - so I want to use EOIP
I know how to get my external IP in Router#2
so what else should I do ?
I don’t see the different between what I’m trying to do and any other DDNS service
If I’m understanding correctly, your 4G connection is using CGNAT (carrier NAT), so you aren’t being assigned a public IP directly but instead a private IP address that they manage. They then NAT the traffic out a specific set of IP addresses, probably shared by hundreds to thousands of users/devices.
In this type of configuration, ANY remote connectivity is going to have to be initiated by your router with the 4G card. You don’t have any control over the port forwarding or firewall rules of the public IP, so the only thing you can do is initiate connections.
In some cases, you can pay an additional fee for a public IP address on your 4G card. This would eliminate any of the CGNAT issues you are encountering.
If you don’t want to pay extra for a public IP on your 4G, I would advise you set router#2 to dial a PPP connection or L2TP connection to router#1, then run your EoIP tunnel over the PPP connection.
so do I need to do something else? or this is how to do this?
also can I create 2 server on the same router?
let say I have 2 pppoe connection t the internet on the same router , and I want different client to connect to different server
doable?
Looks like you’ve got the right idea down. Once you establish your L2TP connection between router 1 and router 2, you can use the PPP addresses to create your EoIP tunnel and bridge to any interfaces you wish.
On the PPPoE scenario, you can do this but you’ll have to follow one of the guides on creating a router with dual WAN and load balancing. You’re going to have to create some routing marks and mangle rules to “mark” the traffic so that the router knows which interface the traffic comes in and goes out.
o.k. ,
I have try many setting in the firewall in all kind of guides , all of them I didn’t mange to make this work
this is the best I could do - and sometime I can see both sims are working together ,
for example :
I’m trying to download a 100MB file , at start I can see both sims are downloading at 3.5 and 3.5 , but then after ~3 min
one sim has stop downloading , and I have download only from 1 at speed of 3.5Mbps.
after 5 more min the second sim return to download - work for 4 min and then stop again