Commit e52bb915 authored by rafaelferrari0's avatar rafaelferrari0 Committed by GitHub

Update README.md

parent 773813cd
......@@ -109,7 +109,10 @@ Point your browser to http://www.example.com and watch the contents of input.log
### IPv6 support
It's possible to accept IPv6 or IPv4 connections and forward to IPv6 or IPv4 services/hosts.
The proxy normally will accept IPv4 and IPv6 connections if your system support it. You can even forward IPv6 clients to any legacy IPv4 service, all you need is to use IPv4 or IPv6 address on -h and -b parameters depending on case.
The option [-b bind_address] force binding on specifc socket.
Accepting IPv6 connections and forwarding to IPv6 service: (still accepting IPv4 connections)
```
......@@ -121,12 +124,12 @@ Accepting IPv6 connections and forwarding to legacy IPv4 service: (still accepti
proxy -l 8080 -h 192.168.1.2 -p 8080
```
Accepting only IPv4 connections and forwarding to IPv6 service:
Accepting IPv4 only connections and forwarding to IPv6 service: (-b local_interface_address )
```
proxy -l 8080 -b 192.168.1.1 -h fe80::20d:b9ff:fe12:7650 -p 8080
```
Accepting only IPv4 connections and forwarding to IPv4 service:
Accepting IPv4 only connections and forwarding to IPv4 service: (-b local_interface_address )
```
proxy -l 8080 -b 192.168.1.1 -h 192.168.1.2 -p 8080
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment