sunhux
asked on
Help needed with esxcfg-firewall command syntax/sample
Have problem with esxcfg-firewall command syntax. Appreciate if
anyone can give specific examples.
# esxcfg-firewall -o --openPort 280,tcp,in,HPSIMCert
I've tried replacing the commas (,) with space but it did not help.
Below is my example :
-e|--enableService <service> Allows specified service
through the firewall.
-d|--disableService <service> Blocks specified service
-o|--openPort <port,tcp|udp,in|out,name> Opens a port.
-c|--closePort <port,tcp|udp,in|out> Closes a port previously opened
via --openPort.
--blockIncoming Block all non-required incoming
ports (default value).
--blockOutgoing Block all non-required outgoing
ports (default value).
--allowIncoming Allow all incoming ports.
--allowOutgoing Allow all outgoing ports.
anyone can give specific examples.
# esxcfg-firewall -o --openPort 280,tcp,in,HPSIMCert
I've tried replacing the commas (,) with space but it did not help.
Below is my example :
-e|--enableService <service> Allows specified service
through the firewall.
-d|--disableService <service> Blocks specified service
-o|--openPort <port,tcp|udp,in|out,name>
-c|--closePort <port,tcp|udp,in|out> Closes a port previously opened
via --openPort.
--blockIncoming Block all non-required incoming
ports (default value).
--blockOutgoing Block all non-required outgoing
ports (default value).
--allowIncoming Allow all incoming ports.
--allowOutgoing Allow all outgoing ports.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
esxcfg-firewall --openPort 1888,tcp,out,Service_name
where 1888 is the port & to close it's
esxcfg-firewall --closePort 1888,tcp,out,Service_name
nice website