Jump to content

Port Forwarding Within Mandrake 10.1


YaAqoB
 Share

Recommended Posts

Hello all.

I was wondering if anyone knows how to see what ports Mandrake is using for TCP and UDP.

Or if thats not possible how do I change them to what I want.

I don't have a firewall/router, only what ever Mandrake has built in.

I only have a dial up connection to the net at this stage and I need this info so I can make Valknut go active as its requesting the port numbers for UDP and TCP.

 

Thanks heaps

Link to comment
Share on other sites

Hi

less /etc/services ?

For what is established/listening now I use

netstat -atpcevu in a root shell

tcp listen port 9176

udp listen port 9176 (not in /etc/services)

would be default's for valknut I just installed

and know 0 about.

hih

Link to comment
Share on other sites

Hello again.

Which of the following lines iare the ones that I get the UDP and TCP ports from?

 

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address      State       User       Inode      PID/Program name
tcp        0      0 localhost:32768         *:*                  LISTEN      root       7673       3674/xinetd
tcp        0      0 localhost:10026         *:*                  LISTEN      root       8166       3964/master
tcp        0      0 *:sunrpc                *:*                  LISTEN      root       6750       3149/portmap
tcp        0      0 *:x11                   *:*                  LISTEN      root       7683       3704/X
tcp        0      0 *:ipp                   *:*                  LISTEN      root       7795       3739/cupsd
tcp        0      0 localhost:smtp          *:*                  LISTEN      root       8066       3964/master
tcp        0      0 *:x11                   *:*                  LISTEN      root       7682       3704/X
udp        0      0 *:sunrpc                *:*                              root       6749       3149/portmap
udp        0      0 *:ipp                   *:*                              root       7796       3739/cupsd

 

Thanks

Link to comment
Share on other sites

[kelly@localhost kelly]$ netstat -atu
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 localhost:32768         *:*                     LISTEN
tcp        0      0 *:1004                  *:*                     LISTEN
tcp        0      0 *:sunrpc                *:*                     LISTEN
tcp        0      0 localhost:http          *:*                     LISTEN
tcp        0      0 *:x11                   *:*                     LISTEN
tcp        0      0 *:10000                 *:*                     LISTEN
tcp        0      0 localhost:https         *:*                     LISTEN
tcp        0      0 192.168.2.40:32797      mail.xxxx.net:ssh       ESTABLISHED
tcp        0      0 ::1:http                *:*                     LISTEN
tcp        0      0 *:x11                   *:*                     LISTEN
tcp        0      0 ::1:https               *:*                     LISTEN
udp        0      0 *:10000                 *:*
udp        0      0 *:bootpc                *:*
udp        0      0 *:998                   *:*
udp        0      0 *:1001                  *:*
udp        0      0 *:sunrpc                *:*

 

Here is an example and you can see the Protocol on left and the connection and :PORT # of the connnection. In this case I have an ssh connection running to a remote server.

Edited by kmack
Link to comment
Share on other sites

Sorry to be a pain but by looking at my one, what port numbers should I enter for TCP & UDP in Valknut?

 

I don't use that software, but the online documentation says:

TCP Listen Port

 

    This specifies the port number Valknut will listen on for TCP connections (e.g. for file transfers etc.). It defaults to 9176, and you can usually leave it at that. You need to make sure that incoming connections to this port can get through your firewall.

UDP Listen Port

 

    Search results will be sent directly to you on this UDP port. It defaults to 9176. Make sure your firewall allows through UDP packets destined to this port.

 

Mandrake with normal settings should allow you to use this. If not, go to the Mandrake Control Center--Security--Firewall. Default is "Everything" so it should let it work. If you want to tighten up, then uncheck "Everything" and enter the ports you want to use. NOTE: if you do this, you might cause other programs not to run properly by not listing their pprts properly. Beware.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...