Proxy a TCP connection
Karl
karl at denninger.net
Fri May 18 22:14:18 UTC 2018
Ipfw's internal nat will do this out of the box.
-- Karl
Original Message
From: ml at netfence.it
Sent: May 18, 2018 16:29
To: freebsd-net at freebsd.org
Subject: Proxy a TCP connection
Hello.
Let's say I have a router connected to the Internet on one side and to a
LAN with private IPs on the other.
I want some clients from outside to be able to connect to a TCP service
on a machine on the LAN: they should connect to port X on the firewall's
public IP and reach port Y on the internal box.
I've used net/socket in the past, but stopped when, in some corner case,
it would "ruin" the data; besides it has been removed from the port tree.
I happily switched to net/tcpproxy, but lately it's dying every few days
and must be restarted; I could drop its rc.d script and use
sysutils/daemontools' svscan instead, but if there's a simpler solution...
Does anyone have a good suggestion for a program similar to the above ones?
I require nothing fancy, I just want it to be reliable.
bye & Thanks
av.
_______________________________________________
freebsd-net at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4557 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20180518/315714ac/attachment.bin>
More information about the freebsd-net
mailing list