Translated from: http://blog.chinaunix.net/uid-345389-id-2131648.htmlOften encounter port forwarding situation, with iptable is often, but every time need to check the manual. See the article of the steamed bun, feel good, test feeling is very useful.Port forwarding mapping program called RINETD, and did not find the version of the said, only one. Directly Manke
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 PREROUTING-p tcp -- dport 8081-j DNAT -- to
Article title: Iptables port forwarding (modified ). 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.
We have a computer with two Nics. eth0 is connected to the Internet, and the ip address is 1.2.3.4. eth1 is connected to the intranet, and the ip address is 192.168.0.1.
Label:Transfer from http://blog.sina.com.cn/s/blog_484d87770102uxi6.html Use VirtualBox for a long time, a lot of usage is not deep drilling, really is not open-minded learning ah.Because the default approach is to use NAT for virtual machine networking, it can be cumbersome to access the virtual machine's applications from outside the network. Used to bridge the way, but the IP is limited, its own designated IP may conflict with the LAN IP, and the IP obtained by DHCP may change lead to uncert
First, we use Webpy to write a simple website, listen to 8080 ports, and return to the "Hello, everet.org" page.
Then we use our forwarding.py to build two communication pipelines between the 80 port and 8080 ports for two-way communication.
At this point, we have access to our servers via port 80.
The browser gets:
We can then see the communication between the browser and the webpy in the output of the
First, we use Webpy to write a simple website, listen to 8080 ports, and return to the "Hello, everet.org" page.
Then we use our forwarding.py to build two communication pipelines between the 80 port and 8080 ports for two-way communication.
At this point, we have access to our servers via port 80.
The browser gets:
We can then see the communication between the browser and the webpy in the output of the f
This article describes how to implement ultra-simple port forwarding in python. The example analyzes the port forwarding technique of Python homogeneous socket, which has some reference value, for more information about how to implement ultra-simple port
Recently I took over a bug. It is strange that the WebService released by the product does not work and the error "connection refused" is returned.
After checking, all the WebService calls reported by the error come from the server's local machine, that is, the WebService released on the local machine is called in the code of the local machine. It's ugly, but it won't report an error.
After some investigation, we found that the access from the client to the server was not allowed directly, b
Such a scenario:A is a Windows host for the office network,B is a Linux fortress machine,C is a production environment for an Oracle host,A can only access B but a cannot access c,b can access to C, then how can you make the "Plsql Developer" on a machine connected to the Oracle database on the C machine?1, on a securecrt with the SSH2 protocol telnet to B, and then right-click the Connection tab below the toolbar, the popup menu as shown in2. Click "Session Options", in the Popup dialog box, cl
virtual machine network:Select: Edit--Edit the virtual network as shown in:Get the following Setup window (because NAT is connected using VMnet8, so we edit this NIC and click "VMnet8"):As you can see, my virtual machine is in 192.168.202.0 this segment, we click on Nat Settings (as shown in the red box above), the following interface appears:Click on the Red box "ADD", you can set the host port and the virtual machine IP and
Port forwarding under Windows is generally used with its own NAT and Porttunnel, PortmapLinux Lower port forwarding mapping program called RINETD, Startup method Rinetd-c/etc/rinetd.conf, Pkill rinetd shutdown processTools Home: http://www.boutell.com/rinetd/Software download, decompression and installation
wg
, in the peanut shell to add a map to the intranet, each add a map peanut shell will be reassigned a port, this step is to map the port on our intranet host to a different port, when the user access to provide a map port host of a port, The server transfers the request to a
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 port to forward to the 80
Use the IIS application request Forwarding (ARR) to achieve integration and sharing of port 80 between IIS and tomcat.
Currently, the methods for implementing iis and tomcat to share port 80 on the Internet are implemented based on the isapi_redirect plug-in. My implementation methods are different and the principles are similar, which has better advantages.
The
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 Software
Http://www.boutell.com/rinetd/http/rinetd.tar.gz
Download, compile, and install
The startup mode is/usr/sbin/rinetd-c
Label: style HTTP Io ar OS for SP on Art
I. Script Functions
SSH dynamic forwarding from remote to local port
Ii. script configuration
Username user
Hostname: the IP address or domain name of your host
Port can be customized. The default port script is 9000.
Iii. Script
Proxy. Sh
#!/bin/bash#au
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 http://www.boutell.com/rinetd/http/rinetd.tar
This article mainly introduces node in detail. key code for js port forwarding. If you are interested, refer to this article to share with you node. js port forwarding implementation code for your reference. The specific content is as follows:
#!/sbin/node var net = require('net'); function proxyPort(srcport,destServ
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.