Subj : "portproxy" in linux To : Markus Reschke From : Benny Pedersen Date : Sat Sep 26 2015 18:06:38 Hello Markus! 26 Sep 2015 12:08, Markus Reschke wrote to Tommi Koivula: MR> Hello Tommi! MR> Sep 26 11:53 2015, Markus Reschke wrote to Tommi Koivula: MR>> http://www.haproxy.org/ MR> Example: MR> http://www.koopman.me/2011/02/haproxy-for-ipv6-translation-to-ipv4-onl MR> y-websit e/ MR> The important thing is to set the mode to TCP and to change the MR> required ports. haproxy will work as proxy for any TCP based protocol. or install xinetd on openWRT, in a service use REDIRECT (incomming only trafik, not outgoing) ----- xinetd.manpage begins ----- redirect Allows a tcp service to be redirected to another host. When xinetd receives a tcp connection on this port it spawns a process that establishes a connection to the host and port number specified, and forwards all data between the two hosts. This option is useful when your internal machines are not visible to the outside world. Syntax is: redirect = (ip address) (port). You can also use a hostname instead of the IP address in this field. The hostname lookup is performed only once, when xinetd is started, and the first IP address returned is the one that is used until xinetd is restarted. The "server" attribute is not required when this option is specified. If the "server" attribute is specified, this attribute takes priority. ----- xinetd.manpage ends ----- only downside is that if redirected host changes ips one need to reload xinetd :( Regards Benny .... there can only be one way of life, and it works :) --- Msged/LNX 6.2.0 (Linux/4.2.0-gentoo-r1 (i686)) * Origin: openvpn on its way here (1:261/38.20) .