troubleshooting Question

ICMP Code: 10 (Host administratively prohibited)

Avatar of colorsit123
colorsit123 asked on
Linux OS DevLinux Networking
2 Comments1 Solution2344 ViewsLast Modified:
I am writing a program make the function packet forwarding.
I have a pc with two ether card A and B.
I disabled ip forwarding.
I use raw socket to capture packet from ether A, and then send this packet through ether B. However, I receive this ICMP error: Code: 10 (Host administratively prohibited).
I think this error cause by I was disabled ip forwarding, but I don't know how to fix it.
And if I turn on ip forwarding, how to configuration for ether A don't forward some kind of packet though ether B like that: tcp packet?

I need help.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros