* @param strAddress String device IP address
* @return void
*/
- public void configureProcessJailInetAddressPolicies(String strConfigHost, String strAddress) {
+ public void configureProcessJailInetAddressPolicies(String strConfigHost, String strRouterAddress, String strAddress) {
PrintWriter pwConfig = getPrintWriter(strConfigHost);
//System.out.println("\n\nDEBUG: Writing the config host address setup!!!\n\n");
+ pwConfig.println("file read /etc/resolv.conf");
+ pwConfig.println("file read /etc/hosts");
+ pwConfig.println("file read /etc/host.conf");
+ pwConfig.println("network inet dgram send " + strRouterAddress + " " + String.valueOf(53)); // TCP/UDP access through router
pwConfig.println("network inet stream connect ::ffff:" + strAddress + " " + String.valueOf(80)); // HTTP access for this address
}