05-22-2013 12:22 PM - edited 03-11-2019 06:47 PM
Hi Everyone,
IF we have two sites and each site has syslog server.
Site A
Syslog server IP 192.168.50.1
ASA 1
Site B
Syslog server IP 192.168.60.1
ASA2
for redundancy purposes ASA at each site will send all syslog messages to syslog server at its site and also to remote site.
so ASA1 will need to send syslog messages to 192.168.50.1 and 60.1.
Syslog server is at inside interface of ASA.
so need to know if we do static nat on the ASA will this we ok on ASA1 version 8.2*******
static(inside,outside) UDP 200.x.x.1 syslog 192.168.50.1 syslog
static(inside,outside) UDP 200.x.x.2 syslog 192.168.60.1 syslog
So what config should i do on ASA2 at site 2?
Also if i use public ip for each static NAT then i can not use that IP for any other NAT right?
Thanks
Mahesh
Solved! Go to Solution.
05-23-2013 10:52 AM
Hi Mahesh,
You should really try to post the answers and questions here on the discussion. It gets quite confusing reading the information on 2 different places.
So if I should suggest you which steps to take regarding this Syslog setup configuration
- Jouni
05-23-2013 10:54 AM
Hi Jouni,
When i do sh run static | inc public ip
it shows that it is statically mapped to syslog server at remote and local site.
So need to understand this that we use couple of public ip got from isp and map them to internal syslog servers right?
so this setup is just for logging logs from edge device to syslog right ?
so it does not log message to remote syslog server right?
Thanks
mahesh
05-23-2013 11:10 AM
Hi,
So you are saying that both sites ASAs have Static NAT for the the sites Syslog server? If this is correct then the Syslog server can be reached from the Internet.
After this you would have to create an ACL rule on the "outside" interface ACL to allow syslog traffic from the remote sites ASAs "outside" interface IP address to the local syslog server public IP address. You would configure ACL rules on both sites to allow the other sites ASA to send Syslog to the public IP address of that sites Syslog server.
When that is done you could enable syslogging on each sites ASA (towards the other sites syslog server)
logging host outside
And if everything is fine, you should be able getting syslog messages from both ASA to both Syslog servers
And as I said before, after we confirm that the logs are going through from each site to the other then we could move this traffic to a L2L VPN connection.
In short these very first steps purpose is to
- Jouni
05-23-2013 09:44 PM
Hi Jouni,
I have tested the syslog connection of both sites via the internet.
I am doing this as we have to replace the existing syslog servers thats why i have to do the setup again.
Its a new setup now with New IP addresses.
Earlier syslog messages to remote site were going Via GRE -- over IPSEC.
Currently both site are sending syslog messages to each other via the internet.
This has been tested.
Now i need to send the syslog messages internaly over the GRE tunnel.
GRE tunnel goes via IPsec between two sites.
I have changed logging host from outside to inside as traffic needs to go via IPSEC now.
I know the Router which has GRE tunnel and the destination IP of tunnel goes via IPSEC.
Need to know what step i should take on this ASA so that traffic goes via GRE tunnel?
Should i define static route on ASA that to reach syslog server at each remote site we should go to Router which has GRE tunnel configured?
like route inside 192.168.60.1 255.255.255.0 ?
Going to sleep now.
Thanks
Mahesh
05-23-2013 10:31 PM
Hi Mahesh,
I had no idea that you have a L2L VPN/GRE connection through some other routers in the network. I presumed that you had a L2L VPN connection between the ASA firewalls directly. This again naturally changes the setup completely.
Does each of your ASA have a route towards the remote syslog server yet? Are you perhaps running dynamic routing between the sites as you are using IPsec + GRE?
What is the IP address/network of the interface of the ASA that has the route (or will have the route after configured) for the remote sites syslog server?
Basically you should first confirm that each site has a route towards the other sites syslog server network. You would also have to confirm that each site as a route for the network that is connected to the ASA interface from which you want to send the syslogs to the other site.
You should be able to use the "show route" command on the ASAs and "show ip route" command on the router side to determine if the routing information needed is already there. If not, then some additions to the routing have to be made for each ASA to be able to send syslog to the other side.
- Jouni
05-24-2013 12:52 PM
Hi Jouni,
Yes each of ASA have a route to remote syslog server.
ITs running IPSEC+ GRE.
All setup is working fine now.
All routing info was already there.
Many thanks for your help on this project.
Best regards
Mahesh
05-24-2013 12:54 PM
Hi Mahesh,
Glad to hear its working.
Too bad there was some confusion at start about the actual network setup. Seems you had everything in place but the actual logging configurations?
- Jouni
05-24-2013 12:56 PM
Hi jouni,
I just need to change the IP on the logging configurations.
MAhesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide