Alibabacloud.com offers a wide variety of articles about linux ssh port forwarding, easily find your linux ssh port forwarding information here online.
The use of Linux lower port mapping and forwarding software rinetdBefore always with Iptables do forward, that cumbersome command rare memory, so here, we can use the software to achieve this purpose.Linux Port mapping forwarding tool RINETD installation use1. Download wget
Port ing (route forwarding) in Linux)
In Linux, port ing (route forwarding) should first be done in the/etc/sysctl. conf configuration file. net. ipv4.ip _ forward = 1. The default value is 0.
This allows iptalbes FORWARD.
Vi/e
[[emailprotected]fan3838rinetd]#make installinstall-m 700 rinetd /usr/sbininstall-m 644 rinetd.8 /usr/man/man8
Installation complete only one binary file a Help file, through the man help can know that it needs a/etc/rinetd.conf configuration file, the content and format of the file is as follows:
地址 端口 地址 端口
Testing a simple example, the 172.16.86.113 113 port maps to the 172.16.81.88 80
For linux port forwarding, assume there are two servers, A and B. I need to forward the data that accesses port 8081 of server A to port 8081 of server B and receive the response data of server B. Www.2cto.comCommand: # echo 1>/proc/sys/net/ipv4/ip_forward # iptables-t nat-I
A Simple Method for linux port forwarding-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Rinetd -- internet ''rection ction server''
Old, short, and simple forwarding
This article to share is a Linux under the simple and easy to use tool rinetd, to achieve port mapping/forwarding/redirection, the need for small partners can refer to.
Port forwarding under Windows is typically a self-contained NAT and Porttunnel, Portmap
Linux port ing and forwarding tool rinetd installation and use, linuxrinetdIntroduction
Rinetd is a tool for redirecting the Transmission Control Protocol (TCP) connection in Unix and Linux operating systems. Rinetd is a single-process server that processes any number of connections to the address/
In the previous article we talked about how to set up Virtuabox to log in to the machine via SSH.Similarly, we can set up port forwarding to access the Web site that the virtual Linux system has built, as described in the previous article:1. Set Port forwarding:We set up a local 8888
Article Title: a simple method for port forwarding in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Rinetd -- internet ''recti
Linux port ING and forwarding tool rinetd installation and use 1. download wgethttp: // response...
Linux port ing forwarding tool rinetd installation use 1, Download wget http://www.boutell.com/rinetd/http/rinetd.tar.gz version r
Simple and easy to use tool RINETD Linux to implement port mapping/forwarding/redirection
Official website Address http://www.boutell.com/rinetd
Software downloadswget http://www.boutell.com/rinetd/http/rinetd.tar.gz
Decompression InstallationTar zxvf rinetd.tar.gzMakeMake install
Edit ConfigurationVi/etc/rinetd.conf0.0.0.0 8080 172.19.94.3 80800.0.0.0 2222 192.1
Environment : VBox or Vitrualbox to connect the virtual machine, because the company intranet can not allocate IP (do not know if this is the reason), the virtual machine with the bridge can not reach the IP, virtual machine and host access to each other, so with Nat. Sorry : Nat is able to connect to the network, but also can access the host, and the host cannot access the virtual machine. However, also want to use SECURECRT in the host access to Linux
Configure local tomcat application port 80 in linux: deploy tomcat locally to port 8080, and expect local access to port 80 to access local tomcat. Conclusion: The iptables tool in linux is used to implement port
Port forwarding under Windows is typically a self-contained NAT and Porttunnel, Portmap
Linux Lower port forwarding mapping program called RINETD, boot method rinetd-c/etc/rinetd.conf, Pkill rinetd shutdown process
Tools Home: http://www.boutell.com/rinetd/Software downloa
Linux port ing forwarding tool rinetd installation use 1, download wget http://www.boutell.com/rinetd/http/rinetd.tar.gz version rinetd 0.62 www.2cto.com 2, install tar zxvf rinetd.tar.gz cd rinetd 3, run make # may be wrong, you need to modify the following: vi rinetd. c input/bindPort> = 65536 query input/connectPort> = 65536 the query will change 65536 to 6553
The first thing to do is the/etc/sysctl.conf configuration file Net.ipv4.ip_forward = 1 default is 0.This allows Iptalbes FORWARD.Vi/etc/sysconfig/iptables adding *nat Segments*nat:P rerouting ACCEPT [0:0]:P ostrouting ACCEPT [0:0]: OUTPUT ACCEPT [0:0]-A prerouting-d 202.168.349.101-p tcp--dport 16688-j DNAT--to-destination 192.168.2.35:16688-A postrouting-d 192.168.2.35-p tcp--dport 16688-j SNAT--to 192.168.2.55COMMITAmong them, the 202.168.349.101 for the external network ip,192.168.2.35 for t
bootPre-up Iptables-restore Attach Iptables.up.rules note Several accept above not say, I default is all let go.*nat:prerouting Accept [632:40162]:input Accept [158:11837]:output accept [1:328]:P ostrouting Accept [1:328]-a Prerouting-i eth2-p tcp-m tcp--dport 8443-j DNAT--to-destination 192.168.1.100:443-a postrouting-s 192.178.0.0/20- o eth2-j masqueradecommit# completed on Mon Mar-10:55:20 2015# Generated by Iptables-save v1.4.12 on Mon Mar 30 10:55: 2015*filter:input Accept [60769:14812609]
First, port forwarding using the rintedTransfer 10.50.13.13 80 Request to 10.50.13.11 801, installation rinetdtar zxf rinetd. Tar make make install2. Edit the configuration filevi /etc/rinetd.conf 0.0. 0.010.50. 13.11 the #本机IP为10. 50.13. -3. Start RINETD Service$ rinetd-c/etc/rinetd.confSecond, using Iptables for port forwardingTransfer the 10.50.13.13 80
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.