Unable to set rule using service name
Kulamani Sethi
kulamani.sethi at gmail.com
Fri Jul 14 11:13:58 UTC 2017
Hi,
I want to set a rule for a particular service URL which running on a remote
server.
I know the IP but don't know the port number where that service is running.
If i set rule for IP then it will applied for entire services running over
there.
There is a option in IPFW rule we can set either port number or name, but
it does not accepting using name. Here is a example for my case.
suppose URL for test1 service http://x.x.x.x/test1
URL for test2 service http://x.x.x.x/test2
I tried a rule, "ipfw add 104 deny log ip from x.x.x.x test1 to any". Got
error "ipfw: missing "to'' ".
*I want to set rule for test1 where I have no idea about port.*
*Also please help me how to know port number if any way is there.*
*With best Regards,*
Kulamani Sethi,
Bangalore, India
Mob: 9686190111
More information about the freebsd-questions
mailing list