Skip to contentSkip to conversation

Liaise with port forwarding proxies?

DISCUSSION Atsushi Nakagawa 2 participants 4 messages Sep 5, 2003 – Sep 8, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

Is there something that allows iptables to talk with Dante server (the SOCKS server) to gather which ports it's opened for receiving incoming connections? Or maybe a way for iptables to determine and match by which process an incoming packet will be going to?

Regards,

Signature · 3 lines
Atsushi Nakagawa
<[email protected]>
Changes are made when there is inconvenience.
#1 lore raw

hi
Can you say more clearly what you are trying?

Regards
Dharmendra T.

On Fri, 2003-09-05 at 15:43, Atsushi Nakagawa wrote:

Hi,

Is there something that allows iptables to talk with Dante server (the SOCKS server) to gather which ports it's opened for receiving incoming connections? Or maybe a way for iptables to determine and match by which process an incoming packet will be going to?

Regards,

--
Atsushi Nakagawa
<[email protected]>
Changes are made when there is inconvenience.

Signature · 9 lines
Regards
Dharmendra.T
[email protected]

This message is intended for the addressee only. It may contain
privileged or Confidential information. If you have received this
message in error,please notify the sender and destroy the message
immediately.Unauthorised use or reproduction of this message is strictly
prohibited.
#2 lore raw
Quoted 1 line · Dharmendra.T

Can you say more clearly what you are trying?

I have a linux server with services and an iptables configuration set to discard any NEW incoming packets that aren't for these services. I do this based on protocol and port. (e.g. Accept: TCP/80, TCP/21)

I want to add a SOCKS5 server (Dante) to the list of services. The problem with this is that this server can listen to any arbitary port above 1024 for port tunneling, but I don't want to automatically allow all ports > 1024 in iptables.

I'm wondering if there is a way for iptables to determine which ports are in use by the SOCKS5 server and selectively allow those.

Regards,

Signature · 3 lines
Atsushi Nakagawa
<[email protected]>
Changes are made when there is inconvenience.
#3 lore raw

On Fri, 2003-09-05 at 20:35, Atsushi Nakagawa wrote:

"Dharmendra.T" <[email protected]> wrote:
> Can you say more clearly what you are trying?

I have a linux server with services and an iptables configuration set to discard any NEW incoming packets that aren't for these services. I do this based on protocol and port. (e.g. Accept: TCP/80, TCP/21)

I want to add a SOCKS5 server (Dante) to the list of services. The problem with this is that this server can listen to any arbitary port above 1024 for port tunneling, but I don't want to automatically allow all ports > 1024 in iptables.

I'm wondering if there is a way for iptables to determine which ports are in use by the SOCKS5 server and selectively allow those.

You can allow related packets.

Regards,

--
Atsushi Nakagawa
<[email protected]>
Changes are made when there is inconvenience.

Signature · 9 lines
Regards
Dharmendra.T
[email protected]

This message is intended for the addressee only. It may contain
privileged or Confidential information. If you have received this
message in error,please notify the sender and destroy the message
immediately.Unauthorised use or reproduction of this message is strictly
prohibited.