After @epriestley explain me his low interess for {T8169} (I fully understand his point, it interess no that much people), I try to change my infra to get :
- **if ipv4 **: routing through public ip (DNAT and SNAT) to private_vm:22280
- **if ipv6**: driect connection to private_vm:22280
But the probleme is that aphlict currently only listen to an ipv4.
Then I dig into the code ! And I found that it would be fairly easy to implement !
**So I decide to code it and provide a patch !**
But before can you give me some thought about my expected design.
I plan to :
- add `client-host-ipv6` [[ https://secure.phabricator.com/diffusion/P/browse/master/support/aphlict/server/aphlict_server.js;ec759ef46f17d6f782808e3d32061e4c5368c45d$13 | here ]] and default it to none.
- modify [[ https://secure.phabricator.com/diffusion/P/browse/master/support/aphlict/server/aphlict_server.js;ec759ef46f17d6f782808e3d32061e4c5368c45d$132 | this ]] so it also listen to `client-host-ipv6` if not none. Basicaly it would be :
- creating a new JX client server `client_server_ipv6` [[ https://secure.phabricator.com/diffusion/P/browse/master/support/aphlict/server/aphlict_server.js;ec759ef46f17d6f782808e3d32061e4c5368c45d$125 | here ]] if `client-host-ipv6` if not none.
- make this server listen to `client-host-ipv6` if not none.
So ..
```
lang=javascript
var client_server_ipv6 = new JX.AphlictClientServer(server);
...
client_server_ipv6.listen(config['client-port'], config['client-host-ipv6']);
```
Then it would be possible to start the server with right parameters and make it listen to ipV6
WDYT ??