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
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.
Summary: You can change the port /etc/ssh/sshd_config (or some config file in /etc). In mine, it's on the 8th line. Then I restarted sshd. But when I run %nmap localhost Port State Service 22/tcp ...
Summary: Using sed, can I change a word with a new line, spliting the original line in two? Example of original line: This is a line. I want to take the word "is" and change it by a EOF, and teh result will be...
Summary: I need to open a port in linux 8, I set the firewall to medium. That doesn't work so I try and do the custom selection. I try to open the port that way and linux 8 keeps reverting back to the original...