Alibabacloud.com offers a wide variety of articles about centurylink port forwarding, easily find your centurylink port forwarding information here online.
Easy-to-use tool rinetd under Linux for port mapping/forwarding/redirectionOfficial Address http://www.boutell.com/rinetdSoftware downloadwget http://www.boutell.com/rinetd/http/rinetd.tar.gzUnzip the installationTar zxvf rinetd.tar.gzMakeMake installEdit ConfigurationVi/etc/rinetd.conf0.0.0.0 8080 172.19.94.3 80800.0.0.0 2222 192.168.0.103 33891.2.3.4 80 192.168.0.10 80Description (0.0.0.0 indicates that a
Nginx can be easily configured as a reverse proxy server:
server {
listen;
server_name localhost;
Location/{
Proxy_pass http://x.x.x.x:9500;
Proxy_set_header Host $host:
Proxy_set_header x-real-ip $remote _addr;
Proxy_set_header x-forwarded-for $proxy _add_x_forwarded_for;
Proxy_set_header Via "Nginx";
}
}
However, if the Nginx listening port is not the default 80 port, change to a different
Use SSH port forwarding as the proxy and run the following command:
Ssh-D 7070-n-C-o pubkeyauthentication = No
From: http://www.debian-administration.org/article/SSH_dynamic_port_forwarding_with_SOCKS
In the previous article, only the specified port of the specified server can be connected. In fact, the ssh-D option allows SSH to act as a SOCKS server, so that
1, download the first mode with apt-get install rinetd or download from the official website http://www.boutell.com/rinetd/2, configuration, port forwarding configuration in/etc/rinetd.confConfiguration rules0.0.0.0 8080 172.19.94.3 80800.0.0.0 2222 192.168.0.103 33891.2.3.4 80 192.168.0.10 80Description (0.0.0.0 indicates that all available addresses are native bound)Forward all requests destined for nativ
maps Traf implements C from and to the Virtual MachineTransparently. The disadvantage of NAT mode is that, much likePrivate network behind a router, the virtual machine is invisible andUnreachable from the outside Internet; you cannot run a server this wayUnless you set up port forwarding (described below ).
Set to use NATA virtual machine connected in this way can access the Internet like a real computer,
behind a router, the virtual machine is invisible and unreachable from the outside internet; you cannot run a server this way unless you set up port forwarding (described below ).A virtual machine connected through NAT can access the Internet like a real computer, and the host is a router. In this way, the virtual machine is transparently mapped to the external network through the VirtualBox network engine
then rewrite some of the methods, usually starting with Handle_.
Example of Port forwardingIf your program wants to do one thing at a time, multithreading is the quickest and most common way, but there is also a way to be particularly useful when I/O traffic is large. If your operating system supports the Select function, you can let I/O read and write in the background. This module sounds complicated, but there are actually many ways to understand i
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 forwarding. Specifically, the root permission is obtained to e
This article mainly introduces the example of port forwarding and redirection implemented by Python under the TCPIP protocol. it is demonstrated by a webpy site with two-way communication ports on the local machine. if you need a friend, refer to the following, we use webpy to write a simple website, listen to port 8080, and return the "Hello, EverET.org" page.
The example in this article describes Python's method for implementing super simple port forwarding. Share to everyone for your reference. Specifically as follows:
The code is very simple, the implementation of a simple port data forwarding function, for the real environment also need to be modified.
Copy Code c
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
Use rinetd in linux to implement port forwarding
This article will share with you a simple and easy-to-use linux tool rinetd to implement port ing, forwarding, and redirection. For more information, see.
In windows, port forwarding
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.
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
Configure port forwarding in CentOSEnable IP Forwarding
First, enable the IP forwarding function, which is disabled by default.
Temporary modification:
# echo 1 >/proc/sys/net/ipv4/ip_forward
The modification takes effect immediately after the modification, but if the system is restarted, It is restored to the default
After freebsd9.0 is installed by default, start the pf: pfctl-e prompt: pfctl:/dev/pf: Nosuchfileordirectory. the kernel needs to load the corresponding module: # kldloadpf or modify the startup script rc. conf: pf "YES" pf_rules "/etc/pf. conf "### this is to be confirmed to start pf again prompt: # pfctl-eNo by default after freebsd9.0 is installed, start pf:
Pfctl-e
Tip:
Pfctl:/dev/pf: No such file or directory
The kernel needs to load the corresponding modules:
# Kldload pf
Or modify the sta
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
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.