Why OpenDDS Transport not working when NAT is disabled in VPN?

451 Views Asked by At

I tested on localhost it works Tested following RTPS.ini/ TCP.ini (local IP) /using info repo.ior

I tested with connecting two PCs with VPN (publisher on PC_A and subscriber on PC_B, PC_A runs DDS repo) it did not work. NAT is disabled. windows defender is running

I used the following ini same used for localhost test for VPN test on two PCs rtps.ini

[common] 
DCPSGlobalTransportConfig=$file 
DCPSDefaultDiscovery=DEFAULT_RTPS 

[transport/the_rtps_transport] 
transport_type=rtps_udp

tcp.ini on PC_A and PC_B

[common]
DCPSDebugLevel=0
DCPSInfoRepo=corbaloc::192.168.56.9:12345/DCPSInfoRepo  # PC_A IP 192.168.56.9
DCPSGlobalTransportConfig=config1

[config/config1]
transports=tcp1

[transport/tcp1]
transport_type=tcp
1

There are 1 best solutions below

0
kobi89 On BEST ANSWER

Following worked for me

control panel -> allows apps to communicate through the windows defender firewall

allow domain/private/public according to your setup for following

dscpinforepo.exe

subscriber.exe

publisher.exe

file and printer sharing

control panel -> \Network and Internet\Network and Sharing Center\Advanced sharing settings

allow file sharing for used network type (Domain/public/private)