Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

How to send syslog events to a QRadar in Azure environment

50PWNCSY0B gravatar image
Question by oatienzag  (9) | Jun 24 at 05:43 AM qradarazurevpn

Hello.

Is there any way to send syslog events from a linux server (on premise) to a QRadar deployed in Azure with "vpntool"?.

For example, the Linux server has the 172.25.10.10 (IP local address) and the IP public address of QRadar is 47.25.25.10, with OpenVPN enabled.

Thanks in advance.

Regards, Óscar.

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

2 answers

  • Sort: 
2700060Q4C gravatar image
Accepted answer

Answer by Rory@IBM (121) | Jun 24 at 10:03 AM

Assuming you've used vpntool to enable the QRadar box as a server, you can then use the vpntool addclient to create the client's certificates. Copy those certificates and the ca certificate to the Linux server (/etc/openvpn/pki/). Then create an openvpn configuration (/etc/openvpn/client.conf) to match the server. An example client config is below. The proper way of activating the client vpn service on your Linux server will vary from one Linux distro to another so I'll leave that up to you.

You can then use standard syslog configuration options to forward the logs you'd like to send to QRadar. For example with rsyslog a line like this should forward everything:

 *. *  @10.8.0.1:514

Note, the use of vpntool for this should be considered an option of last resort. It will function fine but in most environments it is appropriate to use Azure's VPN/Gateway/routing options rather than creating your own unmanaged vpn tunnels.

 # Client connection to server.
 client
 remote 47.25.25.10 1194
 
 # Other connection details
 proto udp
 dev tun
 nobind
 
 # Tuning based on https://community.openvpn.net/openvpn/wiki/Gigabit_Networks_Linux
 cipher BF-CBC
 tun-mtu 32000
 fragment 0
 mssfix 0
 
 # Compression significantly improves throughput
 # in some scenarios.
 comp-lzo yes
 
 # Proxy configration
 ; none required
 
 # Logging (openvpn.log is managed by logrotate).
 status /var/log/openvpn-status.log
 log-append /var/log/openvpn.log
 verb 4
 
 # Keys and certificates
 ca /etc/openvpn/pki/ca.crt
 cert /etc/openvpn/pki/client.crt
 key /etc/openvpn/pki/client.key
 
 # Downgrade to an unpriviledged user and fork to background
 # after successful initialization,
 user nobody
 group nobody
 persist-tun
 persist-key
 
 # The service is normally started by upstart,
 # in which case we don't want to daemonize.
 ; daemon


Comment
oatienzag

People who like this

  1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
50PWNCSY0B gravatar image

Answer by oatienzag (9) | Jun 24 at 11:25 AM

Thank you very much!.

Only two considerations.

To which port are the syslog events to be sent from the Linux client to Azure QRadar to 514 or 1194 port?. Is it necessary to do NAT (into the iptables) from one port (1194) to another one (514)?.

Regards. Óscar.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

183 people are following this question.

Answers

Answers & comments

Related questions

Announcement: QVM Externally Hosted Scans (March 1st - power outtage) 0 Answers

Estimating EPS from Azure 1 Answer

Regards - Public Cloud Log integration 1 Answer

SSH connectivity failed to EP from console 1 Answer

LogDNA integration with Qradar 0 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges