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
Install and use the latest CentOS port ing and forwarding tool rinetdIntroduction
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/Port Pairs specified in the configuration file etc/rinetd. Although rine
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/Port Pairs specified in the configuration file etc/rinetd. Althoug
The information comes from the internet. Please forget it. application scenario: assume that there are three devices A, B, and C, AB can access each other, BC can access each other, A and C cannot access each other directly, and Oracle database is installed on C, how can A access C databases? Specific environment: A (192.168.8.253), windowvistaB (192.168.8.150), and linuxC application scenarios:
Assume that there are three devices A, B, and C. A Specific environment:
A (192.168.8.253), window
Intrusion penetration techniques Xinetd port forwarding
In some network environments, such as managing a LAN or deploying a dedicated LAN, it may still be necessary to access certain ports of the Intranet machine from outside. Generally, you must access the jump server to access the corresponding machine.In our example, we must achieve the dedicated LAN of the Management
iptables service and service iptables startYou can write a script to enable the device to run automatically;# Vi/etc/rc. Local#! /Bin/sh## This script will be executed * after * all the other init scripts.# You can put your own initialization stuff in here if you don't# Want to do the full sys V style init stuff.Touch/var/lock/subsys/localSH/root/myshipin. Log---------------------------------------------------------------------VI myshipin. Log#! /Bin/sh## This script will be executed * after *
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 65535. Otherwise, the system will prompt that the
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 (after all, Linux command line inconvenien
VirtualBox CentOS Network connection mode is: Network address translation (NAT), at this time, Windows can not ping the CentOS network, you need to do port forwarding.1.CentOS Installing SSH#rpm-qa | grep ssh//check to see if SSH is installed#yum-y install openssh-server//SSH Installation#service sshd Restart2. Switch off the CentOS firewall iptables#service iptables Stop3. Click VirtualBox menu, set--Netwo
In the TCP socket development process, you want the extranet client to map to a locally-initiated TCP server, summarizing the local TCP port mapping extranet method:1, open Ngrok after registered users, URL ngrok:https://www.ngrok.cc/2, add a tunnel, select the free version can be. Specific ways to add: https://www.sunnyos.com/article-show-70.html3. Start Ngrok Tunnel: Ngrok Reference: https://www.sunnyos.com/article-show-67.htmlDownload plugin, open
the data link layer, for example, if you send 512 Byte, received is not necessarily the correct byte, so you have to make the relevant check to ensure correctness, or may not be a complete copy of the byte, but a number of times to collect all the data, then we need to define the relevant structure to ensure the integrity of data transceiver. These details are related to the serial drive implementation, readers are interested in, you can view the relevant documents. In this application, there i
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 rinetd 0.62 www.2cto.com 2, install tar zxvf rinetd.tar.gz cd rinetd 3, run make # may be w
Playing VPS often uses port forwarding to achieve faster speeds. For example OVH computer room network My visit here is very slow, with Remote Desktop will vomit blood type. So they use other routes as a springboard, like Los Angeles, Hong Kong, and so on. Another example if you need a Japanese IP, but local access to Linode, Conoha Japan are detours, and slow, then if you use a Hong Kong VPS to do relays,
As the title shows, Nginx can act as a port forwarding after version 1.9, that is, to access the specified port of the server, Nginx can act as a port forward to redirect traffic to another server, obtain the return data of the target server, and return it to the requester. Nginx's TCP proxy function differs from the r
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 ''rection ction server''Old, short, and simple forwarding Software
Http://www.boutell.com/rine
Today to help customers migrate the site, the client is an ASPX is a PHP site, this time there are 2 domain names, but the PHP site is Apache under the pseudo-static, must be used to Apache, but the ASPX site is also necessary to Iis+mssqlThen at this time, Iis+apache are using the 80 port, will certainly conflict, what should be done? Then we can only in the Apache configuration file configuration proxy agent Function!So simply say Apache under proxy
network or enter the address, you can find that we have been configured successfully, but the main page of the jump is Tomcat's homepage, this time we need to redirect the main page, whichTime We need to modify a configuration, the Server.xml file under the Tomcat installation path confAdd and modify the following:After configuring the Tomcat service to restart, the browser types the localhost effect:After the successful external network mapping, the detection effect:The difference between intr
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]
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.