08-21-2012
Now i understood
Local port forwarding is outgoing
remote port forwarding is incoming (to access client service)
dynamic port forwarding for sock proxy
Very interesting topic above is "Multiple hop ssh forwarding"
Thank you very much .................. Frappa
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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... (1 Reply)
Discussion started by: imloaded24_7
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. Cybersecurity
Hi,
from my workplace we use a proxy to connect to the outside world, including external ssh servers.
The problem is that the server is seeing the connection coming from the proxy and knows nothing about the client behind it. The ssh connection itself works fine, but x-forwarding does not work as... (1 Reply)
Discussion started by: vampirodolce
1 Replies
5. 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
6. UNIX for Dummies Questions & Answers
So this seems like something that should be simple...but I can't quite seem to get it up and running. I have a machine, .107 with a GUI on port 8443. The problem is that I can't connect directly to .107 from my laptop. Now I have another machine, .69 that can connect to .107. So shouldn't I be able... (4 Replies)
Discussion started by: DeCoTwc
4 Replies
7. IP Networking
Hi,
I'm trying to connect ftp over ssh port forwarding to a sever(UnixC) behind FireWall(F/W). here's my env and question.
UnixA(SSH Client) ----F/W ---- UnixB(SSH Svr) ---- UnixC (FTP, 21)
UnixA wants to connect ftp service of UnixC via SSH port forwarding on UnixB.
Unix A,... (3 Replies)
Discussion started by: hanyunq
3 Replies
8. IP Networking
Here's a situation:
I do all my work on a Mac. I have mysql installed on my mac.
1. There's a certain linux server 'server01' that provides access to
another linux server 'server02' via a pseudo terminal
So, to ssh into 'server02', I do this from my mac:
ssh -t server01... (1 Reply)
Discussion started by: imperialguy
1 Replies
9. 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
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 DEBIAN
simpleproxy
SIMPLEPROXY(1) General Commands Manual SIMPLEPROXY(1)
NAME
simpleproxy - Simple tcp socket proxy
SYNOPSIS
simpleproxy [-7] [-v] [-V] [-d] [-i] -P <POP3 users file> -L [<local host>:]<local port> -R <remote host>:<remote port> -S <proxy
host>:<proxy port>
DESCRIPTION
The simpleproxy program acts as a simple tcp proxy. It opens listening socket on local machine and forwards any connection to the remote
host.
OPTIONS
simpleproxy accepts following options:
-V Version information.
-v Makes simpleproxy to write activity information to syslog or stderr.
-7 Makes simpleproxy to strip 8th bit.
-i Use this flag when starting simpleproxy from INETD.
-d By default simpleproxy does not detach itself from control terminal and writes all messages to stderr. This option will detach it
from terminal and make it write messages to syslog.
-L [<local host>:]<local port>
Local host and port name or number to bind for listening. Host name is optional.
-R <remote host>:<remote port>
Remote host and port name or number
-P <POP3 users list>
If specified, simpleproxy will load list of users from the <filename> (one per line). After this it will be forwarding POP3 ses-
sions only if client trying to authenificate as this user.
-S <proxy host>:<proxy port>
HTTPS proxy server host and port name or number.
-a <HTTP Auth User>:<HTTP Auth Password>
Authenticate to the HTTPS proxy server with the given userid and password. This option performs BASIC HTTP authentication as spec-
ified in RFC 2617. Used only in conjunction with -S.
-t <trace file>
If specified, simpleproxy will dump all data that passes through connection to the specified file.
BUGS
Only tcp ports are supported.
SEE ALSO
inetd(1M), services(4), http://www.crocodile.org/software.html
AUTHOR
Vadim Zaliva <lord@crocodile.org>, Vladimir Karpinsky <vlad@noir.crocodile.org> Vadim Tymchenko <verylong@noir.crocodile.org>
CONTRIBUTORS
Pavel Roskin <pavel_roskin@geocities.com>, Cedric Tefft <cedric@earthling.net> Christophe Bothamy <cbothamy@sourceforge.net> Ulf Harnhammar
<metaur@telia.com>
Version 3.3 SIMPLEPROXY(1)