networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: SRX and IPsec
PostPosted: Tue Aug 09, 2011 5:03 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
So I've just inherited a couple of SRX210h firewalls and I'm in the process of learning me some JunOS (finally). I've found a VPN tunnel on one of them that connects my customer's old service provider to their network, and I need to make this go away. Being new to JunOS and this being their most critical network device I'm thinking that I want to do this quickly right now and I'll go back and clean it out once I know what the hell I'm doing. So my question is can I just do a 'set interfaces st0.0 disable' and call it a day on this one?

Here's the config:

Code:
ike {
    proposal ike-sha1-aes256-pre-g5 {
        authentication-method pre-shared-keys;
        dh-group group5;
        authentication-algorithm sha1;
        encryption-algorithm aes-256-cbc;
    }
    policy ike-policy {
        mode main;
        proposals ike-sha1-aes256-pre-g5;
        pre-shared-key ascii-text "BLAH"; ## SECRET-DATA
    }
    gateway gw {
        ike-policy ike-policy;
        address x.x.x.x;
        external-interface reth4;
    }
}
ipsec {
    proposal p2-esp-sha1-aes256 {
        protocol esp;
        authentication-algorithm hmac-sha1-96;
        encryption-algorithm aes-256-cbc;
        lifetime-seconds 28800;
    }
    policy p2-policy {
        perfect-forward-secrecy {
            keys group5;
        }
        proposals p2-esp-sha1-aes256;
    }
    vpn vpn {
        bind-interface st0.0;
        ike {
            gateway -gw;
            proxy-identity {
                local x.x.x.x/24;
                remote x.x.x.x/16;
            }
            ipsec-policy p2-policy;
        }
        establish-tunnels immediately;
    }
}

_________________
blog.brokennetwork.ca


Top
 Profile  
 
 Post subject: Re: SRX and IPsec
PostPosted: Tue Aug 09, 2011 5:27 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Wed Sep 16, 2009 3:16 pm
Posts: 917
Location: Iowa
I think disable will get you what you need for now.

IIRC I think you can delete ike, delete (insert line here)

commit the config and be done


Top
 Profile  
 
 Post subject: Re: SRX and IPsec
PostPosted: Tue Aug 09, 2011 6:33 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Sat Oct 20, 2007 11:05 am
Posts: 1952
Location: Plano, TX
Certs: CCNA
Type in "disable security vpn"

Then commit, assuming you have no other vpn tunnels.


Top
 Profile  
 
 Post subject: Re: SRX and IPsec
PostPosted: Tue Aug 09, 2011 8:34 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Fri Nov 13, 2009 5:15 pm
Posts: 1957
Location: Pittsburgh
Certs: CCIE R&S,CCIP,JNCIA,VCP510
Im not looking forward to when we have to migrate from the netscreens to these

_________________
"I will prepare and some day my chance will come." - Abraham Lincoln
http://danielhertzberg.wordpress.com - I blog about networks!


Top
 Profile  
 
 Post subject: Re: SRX and IPsec
PostPosted: Wed Aug 10, 2011 12:37 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
Thanks guys.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
 Post subject: Re: SRX and IPsec
PostPosted: Thu Aug 11, 2011 8:18 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Sat Oct 20, 2007 11:05 am
Posts: 1952
Location: Plano, TX
Certs: CCNA
burnyd wrote:
Im not looking forward to when we have to migrate from the netscreens to these



Netscreens are much more stable.


Top
 Profile  
 
 Post subject: Re: SRX and IPsec
PostPosted: Thu Aug 11, 2011 9:35 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
texanmutt wrote:
Type in "disable security vpn"

Then commit, assuming you have no other vpn tunnels.

That isn't a valid command.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
 Post subject: Re: SRX and IPsec
PostPosted: Thu Aug 11, 2011 1:31 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Sat Oct 20, 2007 11:05 am
Posts: 1952
Location: Plano, TX
Certs: CCNA
Infinite wrote:
texanmutt wrote:
Type in "disable security vpn"

Then commit, assuming you have no other vpn tunnels.

That isn't a valid command.


Oops, that should be deactivate instead of disable.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group