SOCAT redirect UDP does not work!

I am trying to transfer data in UDP datagrams in a client in an external location to a computer on my local LAN. But my network sends it via an ADSL modem to a PC with Slackware, this PC redirects packets to other PCs. I use socat to redirect UDP:

socat -v udp-listen:1935,fork,reuseaddr udp:192.168.0.40:37000

On a LAN, the connection is fine, but the external IP addresses do not work. Does anyone help?

+3
source share
1 answer

I don’t think it socat’s the culprit, but think about using stoneinstead socat, because using fork()for each package received is a bit strange. The stone is called in your case like this (I think):

stone -n -d -d -d -d 192.168.0.40:37000/udp 1935/udp

IP-, , . , , :

//, UDP-. , UDP- , NAT-, , IP- , . UDP , UDP NAT , , 5 , .

UDP ( ), UDP-, , , . - , . , "- " UDP . , , IP-, , , . , , .

, , NAT ( ..) , (Config, UPnP ..), . .

, , :

  • UDP IP- . , , IP-, . , UDP , , , .

  • - UDP . DSL, , -. UDP, , . , , , UDP , - NAT, - , .

  • P2P. , , , IP P2P. , - " P2P" ( ), . , push- (Internet to Mobile), ( ). / . , - IP- 10.x.y.z.

, , :

IPv6. , 6to4. IPv6 NAT, IPv6. /iptables Intranet IPv6, Intruders .

+7

All Articles