![]() When setting up a tunnel for local port forwarding, for example, from a web server on the internal network to an external server, the source port and destination port could both be set to 80 for HTTP transmissions. In general, any non-well-known port, in the range from 1024 to 65535, can be used - but port 1080 is the registered port for SOCKS and should be used when setting up a dynamic port forwarding tunnel to be used as a SOCKS proxy. The most commonly used IANA-registered ports include port 80 (HTTP), 443 ( HTTPS) and 22, which is the default port for using SSH. For ports assigned for use with specific protocols, also known as well-known ports, refer to the Internet Assigned Numbers Authority (IANA) Service Name and Transport Protocol Port Number Registry. Determine the port numbers to be used for redirection with SSH port forwarding.On Linux systems, such as Unix-based OSes, which includes macOS, the IP address can be determined by entering the Unix command ifconfig that displays the network configuration, including IP address, for all network interfaces on the system.įinding a Linux host's IP address using the ifconfig utility. ![]()
0 Comments
Leave a Reply. |