proxy resource

From The x3270 Wiki
Type Default Option: -proxy
string x3270 c3270 wc3270 s3270 b3270

Defines a proxy server that the emulator will use to connect to hosts. The value is of the form:

type:[username[:password]@]server[:port]
type
Proxy type.
username
Optional username to pass to the proxy server.
password
Optional password to pass to the proxy server.
server
Server address. A numeric IPv6 address must be surrounded by [ and ] characters.
port
Optional server TCP port.

Proxy types

Type Description Default Port Username
http RFC 2817 (squid) 3128 yes
passthru Sun in.telnet-gw 3514 no
socks4 SOCKS version 4 (RFC 1928) 1080 yes
socks4a SOCKS version 4A (RFC 1928) 1080 yes
socks5 SOCKS version 5 (RFC 1928) 1080 yes
socks5d SOCKS version 5D (RFC 1928) 1080 yes
telnet None (just send connect address port) no

Examples

Use a squid proxy on host 1.2.3.4 with the default username and no password

http:1.2.3.4

Use a SOCKS5 proxy on the local workstation, with username fred.

socks5:fred@localhost

Use a SOCKS5D proxy on the local workstation, with username fred and password secret

socks5d:fred:secret@localhost

User a SOCKS4 proxy on the local workstation using IPv6, on port 9999.

socks5:[::1]:9999