Netsh interface Portproxy command

Source: Internet
Author: User

The Netsh Interface Portproxy command provides the Netsh Interface Portproxy command for the Management Server that acts as a proxy between IPv4 and IPv6 networks and applications. You can use these commands to create a proxy service: Send IPv4-configured computers and application messages to other IPv4-configured computers and applications. Send messages from computers and applications with IPv4 addresses configured to computers and applications with IPv6 addresses configured. Send messages from machines and applications with IPv6 configured to computers and applications with IPv4 configured. Send messages from machines and applications with IPv6 configured to other computers and applications with IPv6 configured. When you use these commands to write a batch file or script, each command must start with netsh interface portproxy. For example, when you use the delete v4tov6 command to specify that the portproxy server deletes IPv4 ports and addresses from the IPv4 address list that the server is listening to, the batch file or script must use the following syntax: netsh interface portproxy delete v4tov6 listenport = {Integer | ServiceName} [[listenaddress =] {4244address | HostName}] [[protocol =] tcp] can be obtained from the command prompt of Windows Server 2003 Family Products, or run these commands from the Netsh interface portproxy context command prompt. To run these commands at the command prompt of Windows Server 2003 Family products, you must enter netsh interface portproxy before entering the commands and parameters according to the following syntax. The Netsh context commands in the Windows 2000 and Windows Server 2003 families may have functional differences. Specify the portproxy server to listen for messages sent to the specified port and IPv4 address, and map a port and IPv4 address to send messages received after an independent TCP connection to the port and address. Syntax add v4tov4 listenport = {Integer | ServiceName} [[connectaddress =] {IPv4Address | HostName}] [[connectport =] {Integer | ServiceName}] [[listenaddress =] {IPv4Address | hostName}] [[protocol =] tcp] The listenport parameter is required. Specify the IPv4 port to be listened on by port number or service name. Connectaddress specifies the IPv4 address to be connected. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Connectport specifies the IPv4 port to be connected by port number or service name. If connectport is not specified, the listenport value on the local computer is set by default. Listenaddress specifies the IPv4 address to listen. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only the Transmission Control Protocol (TCP) is supported ). /? Display help at a command prompt. Add v4tov6: Specify the portproxy server to listen for messages sent to the specified port and IPv4 address, and map a port and IPv6 address, to send messages received after an independent TCP connection is established to the port and address. Syntax add v4tov6 listenport = {Integer | ServiceName} [[connectaddress =] {IPv6Address | HostName}] [[connectport =] {Integer | ServiceName}] [[listenaddress =] {IPv4Address | hostName}] [[protocol =] tcp] The listenport parameter is required. Specify the IPv4 port to be listened on by port number or service name. Connectaddress specifies the IPv6 address to connect. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Connectport specifies the IPv6 port to be connected by port number or service name. If connectport is not specified, the listenport value on the local computer is set by default. Listenaddress specifies the IPv4 address to listen. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Add v6tov4 specifies that the portproxy server listens for messages sent to the specified port and IPv6 address, and maps a port and IPv4 address, to send messages received after an independent TCP connection is established to the port and address. Syntax add v6tov4 listenport = {Integer | ServiceName} [[connectaddress =] {IPv4Address | HostName}] [[connectport =] {Integer | ServiceName}] [[listenaddress =] {IPv6Address | hostName}] [[protocol =] tcp] The listenport parameter is required. Specify the IPv6 port to listen to by port number or service name. Connectaddress specifies the IPv4 address to be connected. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Connectport specifies the IPv4 port to be connected by port number or service name. If connectport is not specified, the listenport value on the local computer is set by default. Listenaddress specifies the IPv6 address to listen. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Add v6tov6 specifies that the portproxy server listens for messages sent to the specified port and IPv6 address, and maps a port and IPv6 address, to send messages received after an independent TCP connection is established to the port and address. Syntax add v6tov6 listenport = {Integer | ServiceName} [[connectaddress =] {IPv6Address | HostName}] [[connectport =] {Integer | ServiceName}] [[listenaddress =] {IPv6Address | hostName}] [[protocol =] tcp] The listenport parameter is required. Specify the IPv6 port to listen to by port number or service name. Connectaddress specifies the IPv6 address to connect. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Connectport specifies the IPv6 port to be connected by port number or service name. If connectport is not specified, the listenport value on the local computer is set by default. Listenaddress specifies the IPv6 address to listen. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Delete v4tov4 specifies that the portproxy server deletes an IPv4 address from the IPv4 port and address list it listens. Syntax: delete v4tov4 listenport = {Integer | ServiceName} [[listenaddress =] {IPv4Address | HostName}] [[protocol =] tcp] The listenport parameter is required. The IPv4 port to be deleted. Listenaddress specifies the IPv4 address to be deleted. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Delete v4tov6 specifies that the portproxy server deletes IPv4 ports and addresses from the IPv4 address list it listens. Syntax: delete v4tov6 listenport = {Integer | ServiceName} [[listenaddress =] {IPv4Address | HostName}] [[protocol =] tcp] The listenport parameter is required. The IPv4 port to be deleted. Listenaddress specifies the IPv4 address to be deleted. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Delete v6tov4 specifies that the portproxy server deletes the IPv6 port and address from the IPv6 address list it listens. Syntax delete v6tov4 listenport = {Integer | ServiceName} [[listenaddress =] {IPv6Address | HostName}] [[protocol =] tcp] The listenport parameter is required. The IPv6 port to be deleted. Listenaddress specifies the IPv6 address to be deleted. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Delete v6tov6 specifies that the portproxy server deletes an IPv6 address from the IPv6 address list it listens. Syntax delete v6tov6 listenport = {Integer | ServiceName} [[listenaddress =] {IPv6Address | HostName}] [[protocol =] tcp] The listenport parameter is required. The IPv6 port to be deleted. Listenaddress specifies the IPv6 address to be deleted. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Reset to reset the IPv6 Configuration status. Syntax resetset v4tov4 modify the parameter values of the existing items on the portproxy server created using the add v4tov4 command, or add the new items to the list of ing port/address pairs. Syntax set v4tov4 listenport = {Integer | ServiceName} [[connectaddress =] {IPv4Address | HostName}] [[connectport =] {Integer | ServiceName}] [[listenaddress =] {IPv4Address | hostName}] [[protocol =] tcp] The listenport parameter is required. Specify the IPv4 port to be listened on by port number or service name. Connectaddress specifies the IPv4 address to be connected. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Connectport specifies the IPv4 port to be connected by port number or service name. If connectport is not specified, the listenport value on the local computer is set by default. Listenaddress specifies the IPv4 address to listen. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only the Transmission Control Protocol (TCP) is supported ). /? Display help at a command prompt. Note that you can change any parameter value of an existing port Proxy Server entry. If no value is provided, no changes are made. Set v4tov6 modify the parameter values of the existing items on the portproxy server created using the add v6tov6 command, or add the new items to the list of ing port/address pairs. Syntax set v4tov6 listenport = {Integer | ServiceName} [[connectaddress =] {IPv6Address | HostName}] [[connectport =] {Integer | ServiceName}] [[listenaddress =] {IPv4Address | hostName}] [[protocol =] tcp] The listenport parameter is required. Specify the IPv4 port to be listened on by port number or service name. Connectaddress specifies the IPv6 address to connect. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Connectport specifies the IPv6 port to be connected by port number or service name. If connectport is not specified, the listenport value on the local computer is set by default. Listenaddress specifies the IPv4 address to listen. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Note that you can change any parameter value of an existing port Proxy Server entry. If no value is provided, no changes are made. Set v6tov4 modify the parameter values of the existing items on the portproxy server created using the add v6tov4 command, or add the new items to the list of ing port/address pairs. Syntax set v6tov4 listenport = {Integer | ServiceName} [[connectaddress =] {IPv4Address | HostName}] [[connectport =] {Integer | ServiceName}] [[listenaddress =] {IPv6Address | hostName}] [[protocol =] tcp] The listenport parameter is required. Specify the IPv6 port to listen to by port number or service name. Connectaddress specifies the IPv4 address to be connected. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Connectport specifies the IPv4 port to be connected by port number or service name. If connectport is not specified, the listenport value on the local computer is set by default. Listenaddress specifies the IPv6 address to listen. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Note that you can change any parameter value of an existing port Proxy Server entry. If no value is provided, no changes are made. Set v6tov6 modify the parameter values of the existing items on the portproxy server created using the add v6tov6 command, or add the new items to the list of ing port/address pairs. Syntax set v6tov6 listenport = {Integer | ServiceName} [[connectaddress =] {IPv6Address | HostName}] [[connectport =] {Integer | ServiceName}] [[listenaddress =] {IPv6Address | hostName}] [[protocol =] tcp] The listenport parameter is required. Specify the IPv6 port to listen to by port number or service name. Connectaddress specifies the IPv6 address to connect. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is set by default. Connectport specifies the IPv6 port to be connected by port number or service name. If connectport is not specified, the listenport value on the local computer is set by default. Listenaddress specifies the IPv6 address to listen. The acceptable value is the IP address, computer NetBIOS name, or computer DNS name. If no address is specified, the local computer is used by default. Protocol specifies the protocol to be used. Currently, only TCP is supported. /? Display help at a command prompt. Note that you can change any parameter value of an existing port Proxy Server entry. If no value is provided, no changes are made. Show all shows all portproxy parameters, including the port/address pairs of v4tov4, v4tov6, v6tov4, and v6tov6. The syntax show allshow v4tov4 shows the v4tov4 portproxy parameter. The syntax show v4tov4show v4tov6 displays the v4tov6 portproxy parameter. Syntax show v4tov6show v6tov4: displays the v6tov4 portproxy parameter. Syntax show v6tov4show v6tov6: displays the v6tov6 portproxy parameter. Syntax show v6tov6

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.