Computing.Net > Forums > Linux > change a port

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

change a port

Reply to Message Icon

Name: newslacker
Date: September 6, 2006 at 13:56:05 Pacific
OS: slackware 10.2
CPU/Ram: pentium-mmx
Product: 1997
Comment:

I am new to Linux and it's firewall, and I am trying to get the TCP packets of a program to go through my proxy server. How exactly do i do this? Is it possible with iptables or ipchains without completly reconfiguring my system as a router? Is there a simple program that can do it? I need to change the destination address and port. I know the address and port the program is sending to and what that needs to be changed to. However, the source port on my machine is randomly selected by the program, so i cannot use a program like desproxy or rinetd. The damn prog simply selects a different port.



Sponsored Link
Ads by Google

Response Number 1
Name: Bolaji Osinuga (by Bolaji)
Date: November 16, 2006 at 05:33:10 Pacific
Reply:

Are you using a squid for a proxy server or what? If yes, you just need to edit your squid.conf file to execute your wish


0
Reply to Message Icon

Related Posts

See More


device manager in knoppix usbdrive or thumdrive mou...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: change a port

Changing SSH port 22 to 23 www.computing.net/answers/linux/changing-ssh-port-22-to-23/10873.html

SED - change a word by a new line www.computing.net/answers/linux/sed-change-a-word-by-a-new-line/27554.html

How do I open up a Port www.computing.net/answers/linux/how-do-i-open-up-a-port/22646.html