Change NAT Reflection from INETD to SOCAT
-
YES! 50$ from me!
-
For reference, there is already an open ticket for this in redmine - http://redmine.pfsense.org/issues/2281
If anyone commits this, make sure to update the ticket. (Or put "Ticket #2281" in the commit message) -
Any updates on this?
-
I was looking into this, I found where are the calls to load the config for /usr/bin/nc, but I cannot find in builder tools where the binary is compiled. Is this a part of the kernel build and not a port?
-
nc is included in FreeBSD, so nothing special is needed to ensure it's there.
socat would have to be added to the buildports file and copy list for the appropriate branch/version so it would be built and included.
-
Thanks Jim.
nc is included in FreeBSD, so nothing special is needed to ensure it's there.
socat would have to be added to the buildports file and copy list for the appropriate branch/version so it would be built and included.
-
For testing you can always just "pkg_add -r socat" though. Once the code is ready to be used in pfSense we can work out the pfPorts part, that's easy. The hard part is translating all the NC bits to socat.
-
Estimated time for this and can it be quickened in any way?
-
I'm not sure anyone has actually officially picked up the bounty, I was just offering tips to whoever did.
-
I am thinking about it โฆ there is a lot to be done for this. To be honest with you, I now use split dns (using the forwarder in pfSense) to access the servers by URL or names. This translates the names into local addresses (even on DMZ) and works without issue for me.
-
I am thinking about it โฆ there is a lot to be done for this. To be honest with you, I now use split dns (using the forwarder in pfSense) to access the servers by URL or names. This translates the names into local addresses (even on DMZ) and works without issue for me.
If you use split dns, how do you get around the fact that the external port address is different than the internal port address? For example, I NAT an internal service on port 123 to external 321. The client wants to be able to connect externally (mobile device) and internally when on wifi to port 321. The DNS part I get, how about the port issue?