[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

iptables over ipv6




hey there its been a long time
well
i have some trouble using ip6tables

i have the following networks

2001:b00:f60e::/48

and i have ther servers
2001:b00:f60e::1
2001:b00:f60e::2
2001:b00:f60e::3

and the workstatiosn

2001:b00:f60e::4
2001:b00:f60e::5
2001:b00:f60e::6

Now how can i filter the sshd port using iptables
i mean
example
iptables -A input -s 10.10.1.26 -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -s 10.10.1.1/24 -p tcp --dport 22 -j DROP


HOW CAN I DO THAT on ipv6 ??

please dont send me to internet i dont have access rigth now

so i would really apreciate a hand of you ;)

the idea i have on ipv6tables its like this
ip6tables -A INPUT 2001:b00:f60e::1 -p tcp --dport 22 -j ACCEPT

until there so far so good
but now what ???
ip6tables -A INPUT 2001:b00:f60e::/48  -p tcp --dport 22 -j DROP  ???

HOW CAN I specific that or do i have to type

iptables -A INPUT :: -p tcp --dport 22 -j DROP


anyeway thanks in advange

Luis

 



----------------------------------------------
 Luis A. Rondon Paz
Admin intranet CNT
 icq #132736035
itachi@cnt.uo.edu.cu
 Santiago de cuba

     .~.
     /V\
    / ( )\
    ^^-^^
 --------------------------------------------------
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
Reply to: