iptables - Bind Phantomjs to a Network Interface -
i have multiple network alias (eth0, eht0:1, eth0:2), each having own private ip has own public ip. when using remote web driver phantomjs (ghostdriver), chooses local host (see bug https://github.com/ariya/phantomjs/issues/10269), client argument --webdriver=ip:port, cannot rely on phantomjs pick correct interface.
i under impression have use iptables. want route ever instance of java program using remote web driver different public ip when connecting phantomjs (ghostdriver) driver. can control port listens on.
any suggestions appreciated.
the best way far resolve use reverse proxy. use proxy option phantomjs specify proxy ip , port, , configure reverse proxy redirect traffic out.
Comments
Post a Comment