11-21-2006
port forwarding
Hi,
I have to install an application that has a built in tftp server. Tftp comes in on port 69. As i am not installing this application as a root user i am running into trouble because only the root user can listen to ports < 1024. So changing the port i listen to to one greater than 1023 isn't an option neither is installing the software as root user. Is there anything i can do in unix similar to iptables in linux that could forward anything that comes in on port 69 to a port greater than 1023 lets say 4000 then have my application listen to 4000 to recieve tftp traffic.
Cheers,
Joe.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've been googling for a while now, trying to forward port 3000 to port 80....
In the past I used to DLink router to forward port 3000 to 80. I recently finished (well, is it ever done anyhow?) setting up my linux box and got it acting as a router.
I want to continue to run Apache on port 80... (1 Reply)
Discussion started by: meeps
1 Replies
2. AIX
Hi friends
i have the following setup
machine1 two network adapters one connected to lan the other connected directly to machine2
machine2 is not connected to lan
i need to access machine2 directly from the LAN
how to force machine1 to forward all traffic received on a specific port the... (1 Reply)
Discussion started by: Husam
1 Replies
3. UNIX for Advanced & Expert Users
Hi
I want to set up port forwarding from one network to another network. I already have this configured on the Linux box using iptables.
iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 1521 -j DNAT --to 10.218.146.230
iptables -A FORWARD -p tcp -i eth1 -d 10.218.146.230 -j ACCEPT
... (2 Replies)
Discussion started by: slash_blog
2 Replies
4. Solaris
Hi,
I am looking out a way to forward all UDP traffic coming on ports 3001,3002,3003 and 3004 on server 10.2.45.200
to
corresponding ports of server 10.2.45.197.
I am using Solaris 10.0.
-bash-3.00$ uname -a
SunOS airtelussd2 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V445
Is... (6 Replies)
Discussion started by: vikas027
6 Replies
5. Solaris
Hi; I have the following issue:
I have a Solaris server running an old applications which connects to an http server in other server at certain port. The thing is that the http server has changed its ip and port and the addres in the app is hard coded and touching the app by now is out of the... (0 Replies)
Discussion started by: ppereira
0 Replies
6. IP Networking
Hi Linux/Unix Guru,
I am setting Linux Hopping Station to another different servers.
My current config to connect to another servers is using different port to connect.
e.g
ssh -D 1080 -p 22 username@server1.com
ssh -D 1081 -p 22 username@server2.com
Now what I would like to have... (3 Replies)
Discussion started by: regmaster
3 Replies
7. IP Networking
hi guys
i have a simple question !
i have two ips . a valid and internal(172.16.11.2)
i want to use port forwarding to forward any request to valid IP port 8001 to internal ip port 80 .
i use this rule :
sysctl -w net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -p tcp... (1 Reply)
Discussion started by: mhs
1 Replies
8. UNIX for Advanced & Expert Users
Hi experts,
We have windows machine ( A ) in one network & 2 Linux Servers ( B & C ) in another network. There is a firewall between these 2 networks and SSH (TCP/22) & HTTPS (TCP/443) are allowed from A to B only (but not to C). There is no personal firewall / iptables running on any machine.... (1 Reply)
Discussion started by: magnus29
1 Replies
9. IP Networking
Hello Gurus,
I have configured port forwarding at router.
But after configuration I am not able to connect the computer from outside/Over internet/Remote desktp from other computer.
Could you please advice?
Thanks-
Pokhraj (2 Replies)
Discussion started by: pokhraj_d
2 Replies
10. Red Hat
Hello All,
I would like to ask you very kindly with /etc/sysconfig/iptables file
I have to setup port forwarding on RHEL6 router. Users from public network must be able to ssh to servers in private network behind RHEL6 router. Problem is that servers in private network must be isolated.
My... (2 Replies)
Discussion started by: oidipus
2 Replies
LEARN ABOUT SUNOS
create-http-listener
asadmin-create-http-listener(1AS) User Commands asadmin-create-http-listener(1AS)
NAME
asadmin-create-http-listener, create-http-listener - adds a new HTTP listener socket
SYNOPSIS
create-http-listener --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename]
--listeneraddress address [--terse=false] [--echo=false] [--interactive=true] --listenerport listener_port --defaultvs virtual_server
--servername server_name [--acceptorthreads acceptor_threads] [--securityenabled=false] [--enabled=true]listener_ID
Creates the HTTP listener. This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--listeneraddress IP address of the listener address.
--listenerport port number to create the listen socket on. Legal values are 1-65535. On UNIX, creating sockets that listen on
ports 1-1024 requires superuser privileges. Configuring an SSL listen socket to listen on port 443 is recommended.
--defaultvs ID attribute of the default virtual server for this particular connection group.
--servername tells the server what to put in the host name section of any URLs it sends to the client. This affects URLs the
server automatically generates; it doesn't affect the URLs for directories and files stored in the server. This
name should be the alias name if your server uses an alias. If a colon and port number is appended, that port will
be used in URLs that the server sends to the client.
--acceptorthreads number of acceptor threads for the listen socket. The recommended value is the number of processors in the machine.
--securityenabled determines whether the HTTP listener runs SSL. You can turn SSL2 or SSL3 ON or OFF and set ciphers using an SSL
element. The security setting globally enables or disables SSL by making certificates available to the server
instance.
--enabled determines if the resource is enabled at runtime.
OPERANDS
listener_id listener ID of the HTTP listener.
Example 1: Using create-http-listener
asadmin> create-http-listener --user admin1 --password adminadmin1
--host pigeon --port 5001 --listeneraddress 0.0.0.0
--listenerport 7272 --defaultvs server --servername pigeon.red.iplanet.com
--acceptorthreads 2 --securityenabled=false --enabled=false sampleListener
Command create-http-listener executed successfully
Where: sampleListener is the HTTP listener created.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-http-listener(1AS), asadmin-list-http-listeners(1AS)
J2EE 1.4 SDK &release asadmin-create-http-listener(1AS)