Hi all, i’m writing here because i need support to get wildfly/jboss working on the test machine.
I’ve installed the nethserver image on a vagrant machine, configured a secondary eth interface by adding eth1 file in network-scripts, though i’ve defined that interface in Vagrantfile, but now i’m not capable to connect to that interface from host machine. Searching for network traffic in that interface with tcpdump grepping specified ip, show nothing.
If i’m stop iptables service, the system i reached correctly.
Assuming its only TCP ports your require and no UDP ports and assuming it should be enabled on the green LAN interface, then the exact two commands to run are:
config set fw_wildfly_jboss service status enabled TCPPorts 8080,9990 access green
signal-event firewall-adjust
Tnx for reply, i’ve tested your solution, but it hasn’t effect. No new entry found in firewall rules, if needed i can attach the iptables rules list. I’ve tested to connect to guest machine for remote admin, with no success, though in iptables rules the connection to port 980 is permitted.
Tnx EddieA, with your suggestion i have reached my objective, but how to permanently save this rules?
Update:
With command suggested by bwdjames and EddieA, i’m able to reach guest machine on web cache port (8080) but not on 9990, nor remote web admin on (980), though i’ve added that port in config.
Tnx for all replies, but solution suggested not worked. When i restart the virtual machine i can’t connect to application server and remote administration ports.
The rules are saved in iptables entry, but i can’t connect from host machine, instead if connect from localhost, everything works fine.
I’m not sure if that supports red/green as the access. You could try: config set fw_wildfly_jboss service status enabled TCPPorts 8080,9990 access private
Which allows access via the green interface. For both red and green access, it’s “public”.
Thank you for times dedicated to my problem, but i can’t solve. So i decided to create a virtualbox instance with the same version as my customer. I’m open another topic to get help to configure system.