Community discussions

MikroTik App
 
wissammohamed
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Jan 05, 2007 3:29 pm

explain command ???

Sat Feb 23, 2008 8:04 pm

hi

i see this commands in another forum, and i don't what the useful from it

ip ipsec policy
add src-address=100.0.0.0/24:any dst-address=200.0.0.0/24:any protocol=all \
action=encrypt level=require ipsec-protocols=esp tunnel=yes \
sa-src-address=10.0.0.2 sa-dst-address=10.0.0.1 proposal=default \
manual-sa=none dont-fragment=clear disabled=no
/ ip ipsec peer
add address=10.0.0.1/32:500 secret="gvejimezyfopmekun" generate-policy=no \
exchange-mode=main send-initial-contact=yes proposal-check=obey \
hash-algorithm=md5 enc-algorithm=3des dh-group=modp1024 lifetime=1d \
lifebytes=0 disabled=no
/ ip route
add dst-address=200.0.0.0/24 preferred-source=0.0.0.0 gateway=10.0.0.1 \
distance=1 comment="" disabled=no



can anyone explain it????

thanks
 
kthameen
Frequent Visitor
Frequent Visitor
Posts: 87
Joined: Wed Dec 21, 2005 4:22 am
Location: Leuven,Belgium

Re: explain command ???

Sat Feb 23, 2008 10:09 pm

Its an IPsec tunnel the config is on one end its not complete, just read more about IPsec you will know more about this.