Hi, I am trying to write a patch for stunnel to support tproxy, but I am having difficulty getting tproxy configured correctly. I compiled and run the foreign-tcp-connect test program, but after waiting a minute or two, I get the error message: 'connect: connection timed out'. I have the following IP addresses defined in the program: /* an IP address bound to one of the local interfaces */ #define LOCAL_IP "192.168.14.1" /* the IP address to use as source address */ #define FOREIGN_IP "128.173.94.148" /* IP address to connect to */ #define DEST_IP "192.168.14.1" While the program is running, my netstat looks like this: Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 192.168.14.1:80 128.173.94.148:2000 SYN_RECV tcp 0 0 192.168.14.1:22 192.168.14.168:32962 ESTABLISHED tcp 0 1 192.168.14.1:9999 192.168.14.1:80 SYN_SENT tcp 0 0 192.168.14.1:22 192.168.14.168:32973 ESTABLISHED I am using the Linux 2.4.29 kernel, and patch version cttproxy-2.4.29-2.0.0.tar.gz. The kernel and iptables have both been patched and installed. I'm not sure what the problem is, does anyone have any advice? Thanks for your time. Ben
participants (1)
-
Ben Pfountz