Skip to Content.

rare-dev - Re: [rare-dev] Socket connection between RARE/freeRtr VMs

Subject: Rare project developers

List archive


Re: [rare-dev] Socket connection between RARE/freeRtr VMs


Chronological Thread 
  • From: mc36 <>
  • To: , Edgard da Cunha Pontes <>
  • Subject: Re: [rare-dev] Socket connection between RARE/freeRtr VMs
  • Date: Mon, 8 Aug 2022 17:26:29 +0200

imho i've an idea what happened: so the one-line installer wipes the linux
networking completely,
from that point the linux's network stack only have a 10.255.255.1/24 ip and
is hidden behind freerouter...
so imho it failed to bind to the requested ip:port pair from the config...
moreover, since the linuxes
dont have the public ips anymore, the given setup you're trying to do is a
double-nat case, but without
anything to punch through the nats, as these interface sockets should have
direct visibility....
br,
cs


On 8/8/22 17:18, mc36 wrote:
hi,

On 8/8/22 17:01, Edgard da Cunha Pontes wrote:
i everyone,

Testing a socket connection between RARE/freeRtr VMs (one line install), as
in the image shown below.

socket-connection.jpg

I put the following settings:

VM1 /rtr/rtr-hw.txt
....
[other configs]
int eth2 eth [mac-vm1] [public-ip-vm1] 20004 [public-ip-vm2] 20004
....

VM2 /rtr/rtr-hw.txt
....
[other configs]
int eth2 eth [mac-vm2] [public-ip-vm2] 20004 [public-ip-vm1] 20004
....

After restarting the VM I lost SSH access permanently.
Is there any way to make this socket connection prevent this from happening?

PS: I'm trying to create this eth2 dynamically, ie a new internal interface
was not created.

this one should work as long as you dont reuse nor eth2 nor the port 20004...
so for now i see nothing to justify why you lost the ssh access...

but on the other hand, is there any reason you want to connect these this way?

i mean, there are plenty of other tunneling modes in freerouter that can make
it work:
http://sources.freertr.org/cfg/conn-gre01.tst -- is a a plain old stuff and
imho
it have less overhead than anything else.... and it also can carry layer2
frames,
you just have to put a bridge-group on the tunnel...

br,
cs



Archive powered by MHonArc 2.6.19.

Top of Page