How to add Virtual Network Interfaces in Iptables?
up vote
-2
down vote
favorite
I am working on iptable configuration for an Automotive embedded device. I have to include all available network interfaces( also includes Virtual Interfaces which has protocol as unspec as in the below image ) in the iptable.
Those Virtual interfaces are added by User Applications using several protocol standards described in socket mechanism. I am not able to add these Interfaces in IPtable. If it has an ipaddress associated with it. I can add using
iptables -A INPUT/OUTPUT/FORWARD -s addr -j ACCEPT/DROP
or if i can do using -i link name option . But for this virtual interfaces even if i add in iptables like the below one
iptables -A OUPUT -i name -j DROP
but i am able to receive those packets on client application.
Please help me with this
networking embedded-linux iptables
add a comment |
up vote
-2
down vote
favorite
I am working on iptable configuration for an Automotive embedded device. I have to include all available network interfaces( also includes Virtual Interfaces which has protocol as unspec as in the below image ) in the iptable.
Those Virtual interfaces are added by User Applications using several protocol standards described in socket mechanism. I am not able to add these Interfaces in IPtable. If it has an ipaddress associated with it. I can add using
iptables -A INPUT/OUTPUT/FORWARD -s addr -j ACCEPT/DROP
or if i can do using -i link name option . But for this virtual interfaces even if i add in iptables like the below one
iptables -A OUPUT -i name -j DROP
but i am able to receive those packets on client application.
Please help me with this
networking embedded-linux iptables
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
I am working on iptable configuration for an Automotive embedded device. I have to include all available network interfaces( also includes Virtual Interfaces which has protocol as unspec as in the below image ) in the iptable.
Those Virtual interfaces are added by User Applications using several protocol standards described in socket mechanism. I am not able to add these Interfaces in IPtable. If it has an ipaddress associated with it. I can add using
iptables -A INPUT/OUTPUT/FORWARD -s addr -j ACCEPT/DROP
or if i can do using -i link name option . But for this virtual interfaces even if i add in iptables like the below one
iptables -A OUPUT -i name -j DROP
but i am able to receive those packets on client application.
Please help me with this
networking embedded-linux iptables
I am working on iptable configuration for an Automotive embedded device. I have to include all available network interfaces( also includes Virtual Interfaces which has protocol as unspec as in the below image ) in the iptable.
Those Virtual interfaces are added by User Applications using several protocol standards described in socket mechanism. I am not able to add these Interfaces in IPtable. If it has an ipaddress associated with it. I can add using
iptables -A INPUT/OUTPUT/FORWARD -s addr -j ACCEPT/DROP
or if i can do using -i link name option . But for this virtual interfaces even if i add in iptables like the below one
iptables -A OUPUT -i name -j DROP
but i am able to receive those packets on client application.
Please help me with this
networking embedded-linux iptables
networking embedded-linux iptables
asked yesterday
Sadaananth
425
425
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53417135%2fhow-to-add-virtual-network-interfaces-in-iptables%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown