PIX firewall
Author
Discussion

Graham

Original Poster:

16,381 posts

315 months

Wednesday 12th July 2006
quotequote all
Hi can anyone give me some pointers on how to look at the config and change it on a pix fire wall.

I have a red hat box thats sitting behind one. I want to use Mutt to send e-mails with an attatchment every 15 mins.

mutt is installed but no mail appears at the other end. ( there must be a log file somewhere!!!) I expect its due to everything being locked right down

as i cant ping, telnet, telnet to port 25 traceroute or anything.... dns lookup is ok though...


help

G

malman

2,258 posts

290 months

Wednesday 12th July 2006
quotequote all
try https://ip-of-firewall

JamieBeeston

9,294 posts

296 months

Wednesday 12th July 2006
quotequote all
You can use the horrid Web Interface (if enabled and if permitted via rule)
You can use SSH to access it (ssh pix@ip IF you're IP is allowed SSH access)

If you have local access to it, simply plug a console cable into it (serial port on pc, HyperTerm!)

then once you have HyperTerm Connected, login with the password

then type said:


en



then enter the enable password (maybe the same)

then once enabled type said:


show run



and you will be greeted with the running config for the PiX.

Enjoy.

J

Graham

Original Poster:

16,381 posts

315 months

Wednesday 12th July 2006
quotequote all
mmm they've had a fiddle an think they're now allowing outgoing on port 25 for the ip of my server...


if thats the cace should i be able to telnet on port 25 to an external mail server to test it as I cant ...

and still not getting anything from i send via mutt

G

Graham

Original Poster:

16,381 posts

315 months

Wednesday 12th July 2006
quotequote all
mmm more digging about in the sendmail logs and it shows the outgoing mail with connection refused by the domain its going to... is that a red herring i dont think its getting that far.


still at least the maillog show its getting that far

G

malman

2,258 posts

290 months

Wednesday 12th July 2006
quotequote all
you should be able to telnet to the mailhost on 25 and see the banner

telnet mail.btconnect.com 25

220 C2bthomr06.btconnect.com ESMTP Mirapoint 3.7.4b-GA; Wed, 12 Jul 2006 16:40:21 +0100 (BST)

Graham

Original Poster:

16,381 posts

315 months

Wednesday 12th July 2006
quotequote all
thats what im expecting but i get connection refused. if i do it from my pc here on my lan ( separate from the server) it works fine..



i get



Trying 197.73.73.217
telnet: connect to address 197.73.73.217: Connection refused


It cant be getting out can it ?

malman

2,258 posts

290 months

Wednesday 12th July 2006
quotequote all
doesn't sound like it.

Is the default gateway correct on the server? Seems strange to let the lan out except the server

Edited by malman on Wednesday 12th July 17:42


oops wrong end of stick your pc is not on server lan is it


Edited by malman on Wednesday 12th July 17:44

Graham

Original Poster:

16,381 posts

315 months

Wednesday 12th July 2006
quotequote all
Yeah im sure it cant be anything rejecting it at the far end as it would also reject the telnet comming from my pc on may broadband connection at home...


mmm more jiggery pokery that i could do without having to play with!!!!

G

PJLarge

480 posts

278 months

Wednesday 12th July 2006
quotequote all
I think it's the BT mail server you're trying to telnet to that's doing something funky as I can't connect to that particular one through my PIX either. If you try port 25 of relay1.bt.net or relay2.bt.net you should be good to go.

Phil.

BliarOut

72,863 posts

270 months

Wednesday 12th July 2006
quotequote all
Graham said:
thats what im expecting but i get connection refused. if i do it from my pc here on my lan ( separate from the server) it works fine..



i get



Trying 197.73.73.217
telnet: connect to address 197.73.73.217: Connection refused


It cant be getting out can it ?
That server doesn't allow connection on port 25 from my NTL connection at home. IIRC BT block port 25 so if you're not connected via BT you ain't coming in. Has your ISP got a smart relay host you can point at?

Graham

Original Poster:

16,381 posts

315 months

Thursday 13th July 2006
quotequote all
I cant even connect on port 25 to one of my own groupwise smtp servers so i dont think its the connection being refused at the remote end mmm

Graham

Original Poster:

16,381 posts

315 months

Thursday 13th July 2006
quotequote all
finally got through the firewall now im screwed on reverse dns lookups by the look of things...

JamieBeeston

9,294 posts

296 months

Thursday 13th July 2006
quotequote all
Graham said:
finally got through the firewall now im screwed on reverse dns lookups by the look of things...


Contact your ISP, they should be able to configure your ReverseDNS without much hassle.

J

Graham

Original Poster:

16,381 posts

315 months

Thursday 13th July 2006
quotequote all
Yeah trouble is the domain doesnt actually exist.... this mail server is just setup to mail an attatchement to a supplier every 15 minutes from the job system, so its not actually their main mail server for that they have an exchange server which i think then relays to their ISP...

I assume what im going to have to try now is to configure sendmail to relay to either the exchange server or the isp's server and configure them to let it in... which is starting to sound like a lot of fun....


mail servers aint really my bag, and im on the edges of my knowledge !!!! arghhhh


dont you just love it when they drop, " can you just get it to mail that file " at the end of the project !!!!

BliarOut

72,863 posts

270 months

Thursday 13th July 2006
quotequote all
What version of Exchange? Should be easy enough to allow that single host to relay.

Graham

Original Poster:

16,381 posts

315 months

Thursday 13th July 2006
quotequote all
BliarOut said:
What version of Exchange? Should be easy enough to allow that single host to relay.



I'll find out tomorrow


so hopefully all i need to figure out is how to get sendmail to relay, and get the exchange box to accept the incomming relay...

G